OSDN Git Service
Marc G. Fournier [Thu, 23 Jan 1997 23:24:14 +0000 (23:24 +0000)]
Forgot, we don't use Makefile anymore.
Mv Makefile.in to GNUmakefile.in and reflect the change in the
configure script
Marc G. Fournier [Thu, 23 Jan 1997 22:50:14 +0000 (22:50 +0000)]
Bring in Nat' preliminary work at autoconf'ng PostgreSQL...I imagine
it still needs lots of work, but, hey, at least this way there are more
ppl working off the same "Source"...
Marc G. Fournier [Thu, 23 Jan 1997 19:47:18 +0000 (19:47 +0000)]
The last patch fixes some incongruences in the #define used to compile the
Tcl arrays support. Here are the correct values to be defined in config.h
and pgtclCmds.c.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Thu, 23 Jan 1997 19:43:23 +0000 (19:43 +0000)]
The second patch adds a more explicative error message to BufferPoolCheckLeak.
It should be completely harmless.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Thu, 23 Jan 1997 19:39:40 +0000 (19:39 +0000)]
Document and enable ACLGROUP_PATCH submitted by Massimo
Marc G. Fournier [Thu, 23 Jan 1997 19:33:31 +0000 (19:33 +0000)]
Patch from Massimo Dal Zotto <dz@cs.unitn.it>
The first patch changes the behavior of aclcheck for groups. Currently an user
can access a table only if he has the required permission for ALL the groups
defined for that table. With my patch he can access a table if he has the
permission for ONE of the groups, which seems to me a more useful thing.
If you think this should be the correct behavior of the acl group check feel
free to remove the #ifdef, if not please add a commented line to config.h.
Bruce Momjian [Thu, 23 Jan 1997 18:15:29 +0000 (18:15 +0000)]
Remove SB_PAD. Compute padding at compile time.
Marc G. Fournier [Thu, 23 Jan 1997 16:04:25 +0000 (16:04 +0000)]
Fix from Andrew for compiling libpgtcl...basically, switch off -Werror,
which probably isn't needed, since we are going to take off -Werror
anyway, right?
Marc G. Fournier [Thu, 23 Jan 1997 15:58:34 +0000 (15:58 +0000)]
Small fixes for SVR4 port by Frank Ridderbusch
Bruce Momjian [Thu, 23 Jan 1997 06:01:07 +0000 (06:01 +0000)]
Added EXAMPLES section.
Bruce Momjian [Thu, 23 Jan 1997 05:59:47 +0000 (05:59 +0000)]
Removed unlinked patch that is not neede now that Vadim has properly fixed it.
Bryan Henderson [Thu, 23 Jan 1997 05:16:13 +0000 (05:16 +0000)]
Add "else true" to make it magically work on Ultrix.
Vadim B. Mikheev [Wed, 22 Jan 1997 06:30:57 +0000 (06:30 +0000)]
INDEXSCAN_PATCH changes: should work for (Param OP VAR) too
(but I didn't test FUNC OP PARAM and PARAM OP FUNC - no time)
Vadim B. Mikheev [Wed, 22 Jan 1997 06:25:42 +0000 (06:25 +0000)]
1. INDEXSCAN_PATCH changes: (op Param Var) should work too
2. IndexScanableOperand now uses match_indexkey_operand
instead of equal_indexkey_var (if we have some index on attribute X
then we shouldn't use it for 'where some_func(X) OP CONST').
Vadim B. Mikheev [Wed, 22 Jan 1997 05:26:50 +0000 (05:26 +0000)]
Fixing bug in INDEXSCAN_PATCH:
ExecInitIndexScan now works with operands of Param type and
(!!!) postquel_execute() now substitutes param values
before calling postquel_start().
Marc G. Fournier [Wed, 22 Jan 1997 04:56:34 +0000 (04:56 +0000)]
Another change from /usr/include/machine/limits.h to just limits.h
Marc G. Fournier [Wed, 22 Jan 1997 04:45:45 +0000 (04:45 +0000)]
Another one that should be including limits.h vs machine/limits.h
Marc G. Fournier [Wed, 22 Jan 1997 04:41:45 +0000 (04:41 +0000)]
Taking a chance here. Under both Solaris and FreeBSD, there is a
/usr/include/limits.h (which quiets the costsize.c warnings)...under
FreeBSD, /usr/include/limits.h *includes* machine/limits.h, while under
Solaris, there is no such things as /usr/include/machine...
Problem with Solaris pointed out by Mark Wahl
Marc G. Fournier [Wed, 22 Jan 1997 04:15:53 +0000 (04:15 +0000)]
the i386_solaris port requires inet_aton.o
Pointed out by Mark Wahl
Bruce Momjian [Wed, 22 Jan 1997 01:44:02 +0000 (01:44 +0000)]
Cast constants to the type of the other binary operand.
Invalidate vacuum relation cache to use new row counts from vacuum.
Bryan Henderson [Tue, 21 Jan 1997 05:16:38 +0000 (05:16 +0000)]
Add link options for libpq library search.
Bruce Momjian [Tue, 21 Jan 1997 01:27:18 +0000 (01:27 +0000)]
Rename GNUMakefile to GNUmakefile so gmake finds it.
Marc G. Fournier [Mon, 20 Jan 1997 14:23:03 +0000 (14:23 +0000)]
Made the patch, but forgot to commit it...
Vadim B. Mikheev [Mon, 20 Jan 1997 04:36:48 +0000 (04:36 +0000)]
Fixing possible losing data changes:
1. New flag - BM_JUST_DIRTIED - added for BufferDesc;
2. All data "dirtiers" (WriteBuffer and WriteNoReleaseBuffer)
set this flag (and BM_DIRTY too);
3. All data "flushers" (FlushBuffer, BufferSync and BufferReplace)
turn this flag off just before calling smgr[blind]write/smgrflush
and check this flag after flushing buffer: if it turned ON then
BM_DIRTY will stay ON.
Vadim B. Mikheev [Mon, 20 Jan 1997 04:06:13 +0000 (04:06 +0000)]
New flag for BufferDesc - BM_JUST_DIRTIED, - to prevent
losing data changes.
Vadim B. Mikheev [Mon, 20 Jan 1997 04:01:50 +0000 (04:01 +0000)]
1. Setting rdesc->rd_tmpunlinked to FALSE in heap_creatr () just after
smgrcreate ().
2. Checking rdesc->rd_tmpunlinked in heap_destroy () & heap_destroyr ()
before calling smgrunlink ().
Bryan Henderson [Mon, 20 Jan 1997 00:51:38 +0000 (00:51 +0000)]
Use gcc to make Linux ELF shared library, instead of ld.
Bryan Henderson [Sun, 19 Jan 1997 22:12:18 +0000 (22:12 +0000)]
Change "ld" program back to ld from gcc for Linux. Backend make files need ld.
Must find alternate solution to libpq shared library build problem.
Bruce Momjian [Sun, 19 Jan 1997 10:15:59 +0000 (10:15 +0000)]
Update handling of backslashes, and pg_user dump.
Bruce Momjian [Sat, 18 Jan 1997 17:36:02 +0000 (17:36 +0000)]
Add missing #.
Bruce Momjian [Sat, 18 Jan 1997 16:14:04 +0000 (16:14 +0000)]
Add include files needed for stat().
Bryan Henderson [Sat, 18 Jan 1997 08:01:32 +0000 (08:01 +0000)]
Rename Makefile to GNUMakefile and add a "use GNU Make" Makefile so people
don't accidentally use non-GNU make.
Bryan Henderson [Sat, 18 Jan 1997 07:56:52 +0000 (07:56 +0000)]
Set LD = gcc for Linux so shared libpq build works.
Bruce Momjian [Sat, 18 Jan 1997 05:48:07 +0000 (05:48 +0000)]
Prevent UNIQUE indexes for non-btree access methods.
Bruce Momjian [Sat, 18 Jan 1997 03:26:08 +0000 (03:26 +0000)]
Remove blank lines.
Bruce Momjian [Fri, 17 Jan 1997 23:48:50 +0000 (23:48 +0000)]
Removed unneeded custom shell script call.
Bruce Momjian [Fri, 17 Jan 1997 18:36:32 +0000 (18:36 +0000)]
Add pg_dump's option meanings to the manual page.
Marc G. Fournier [Thu, 16 Jan 1997 18:05:12 +0000 (18:05 +0000)]
Unapply a patch that wasn't a patch...
Marc G. Fournier [Thu, 16 Jan 1997 16:17:32 +0000 (16:17 +0000)]
Update README.support to match what is on the WWW Site
Remove RELEASE.patchlevel...it hasn't been modified since 1.02 *sigh*
Pointed out by Andrew
Marc G. Fournier [Thu, 16 Jan 1997 16:14:36 +0000 (16:14 +0000)]
point the installer at src/test/regress for testing
pointed out by Andrew...
Marc G. Fournier [Thu, 16 Jan 1997 16:13:40 +0000 (16:13 +0000)]
Minor change to file point out by Andrew
Marc G. Fournier [Thu, 16 Jan 1997 16:11:09 +0000 (16:11 +0000)]
This is one of those patches that obviously fixes something, just not
sure exactly what it is it fixes...
Marc G. Fournier [Thu, 16 Jan 1997 16:10:05 +0000 (16:10 +0000)]
Various updates to install, including redirecting installers to
Makefile.custom and pointers at the customize script...
Bruce Momjian [Thu, 16 Jan 1997 15:28:34 +0000 (15:28 +0000)]
Added pg_dumpall to source tree.
Bruce Momjian [Thu, 16 Jan 1997 14:56:59 +0000 (14:56 +0000)]
Change EXPLAIN options to just use VERBOSE.
Vadim B. Mikheev [Thu, 16 Jan 1997 08:13:14 +0000 (08:13 +0000)]
FlushLocalBuffer () releases buffer only if required
by caller.
Vadim B. Mikheev [Thu, 16 Jan 1997 08:11:41 +0000 (08:11 +0000)]
No more LateWrite, but there is WriteMode;
SetBufferWriteMode () added;
FlushBuffer () fixed: now directly calls smgrflush () and
releases buffer only if required by caller.
Vadim B. Mikheev [Thu, 16 Jan 1997 08:04:30 +0000 (08:04 +0000)]
No more LateWrite.
Vadim B. Mikheev [Thu, 16 Jan 1997 07:59:11 +0000 (07:59 +0000)]
VariableRelationPutNextXid () now flushes variable relation
after writing next free XID.
Vadim B. Mikheev [Thu, 16 Jan 1997 07:53:27 +0000 (07:53 +0000)]
SetBufferWriteMode () added; FlushLocalBuffer () fixed (shouldn't
release buffer if called from WriteNoReleaseBuffer ())
Bryan Henderson [Thu, 16 Jan 1997 06:32:17 +0000 (06:32 +0000)]
Add inet_aton() prototype.
Vadim B. Mikheev [Thu, 16 Jan 1997 03:53:51 +0000 (03:53 +0000)]
textin fixed: no more zero-byte (thanks, Erich)
Marc G. Fournier [Wed, 15 Jan 1997 15:16:25 +0000 (15:16 +0000)]
Import of PostgreSQL User Manual
Marc G. Fournier [Wed, 15 Jan 1997 08:21:14 +0000 (08:21 +0000)]
Added postgres.h include to quiet down the HPUX ports...
POinted out by: Martin S. Utesch <utesch@aut.tu-freiberg.de>
Marc G. Fournier [Wed, 15 Jan 1997 05:58:47 +0000 (05:58 +0000)]
Comment out LD_ADD and DPADD
Bruce Momjian [Tue, 14 Jan 1997 23:06:01 +0000 (23:06 +0000)]
DEC Alpha fix. Missing #.
Bruce Momjian [Tue, 14 Jan 1997 22:58:10 +0000 (22:58 +0000)]
Change to handle bsdi 3.0.
Bruce Momjian [Tue, 14 Jan 1997 16:10:54 +0000 (16:10 +0000)]
Added lines and comments.
Bruce Momjian [Tue, 14 Jan 1997 16:06:03 +0000 (16:06 +0000)]
Re-add -lipc to bsdi port after erroneous removal.
Bryan Henderson [Tue, 14 Jan 1997 08:19:41 +0000 (08:19 +0000)]
Put back -lm for non-nextstep ports.
Bryan Henderson [Tue, 14 Jan 1997 08:05:36 +0000 (08:05 +0000)]
Eliminate dupliclate definition of external variables reldesc and DataDir.
Some compilers recognize this error.
Marc G. Fournier [Tue, 14 Jan 1997 06:41:51 +0000 (06:41 +0000)]
I'm going t take a chance that this was a mis-spelling, since
all the other port related dependencies are ifeq, not ifneq..
If I'm wrong, someone tell me or change it back...
Vadim B. Mikheev [Tue, 14 Jan 1997 05:40:45 +0000 (05:40 +0000)]
ReleaseTmpRelBuffers is ReleaseRelationBuffers now.
Vadim B. Mikheev [Tue, 14 Jan 1997 05:38:23 +0000 (05:38 +0000)]
heap_destroy () releases dirty buffers of a relation to be
destroyed.
Vadim B. Mikheev [Tue, 14 Jan 1997 05:36:15 +0000 (05:36 +0000)]
There is no more ReleaseTmpRelBuffers, but ReleaseRelationBuffers.
Bruce Momjian [Tue, 14 Jan 1997 03:07:15 +0000 (03:07 +0000)]
Cleanup for DEBUG: removal in initdb.sh.
Bruce Momjian [Tue, 14 Jan 1997 03:02:06 +0000 (03:02 +0000)]
Prevent initdb from showing vacuum statistics.
Bruce Momjian [Tue, 14 Jan 1997 02:35:34 +0000 (02:35 +0000)]
Remove CFLAGS_SL from lib/Makefile
Bruce Momjian [Tue, 14 Jan 1997 01:56:44 +0000 (01:56 +0000)]
There are two prototypes for inet_aton, one in include/inet_aton.h, and
another one in Solaris' port-protos.h.
The following patch will bring inet_aton's prototype into scope for
Ultrix to silence a compilation warning.
If the intention is to have inet_aton's prototype in its own header
filer, the declaration in Solaris' port-protos.h should be removed.
If the declaration in port-protos.h is deemed to be the correct
place, a declaration should be added in Ultrix' port-protos.h
regards
Erik Bertelsen
Bruce Momjian [Tue, 14 Jan 1997 01:53:11 +0000 (01:53 +0000)]
Another compilation error has surfaced on Ultrix. In spin.c, sem.h must be
included after storage/ipc.h like other similar cases that were changed
recently.
This one has popped up during the last few days.
My sources are sup'ed today, 13. jan 1996.
regards
Erik Bertelsen.
Bruce Momjian [Tue, 14 Jan 1997 01:42:38 +0000 (01:42 +0000)]
Restored original pg_type/pg_attribute defaults. Regression fixes.
Marc G. Fournier [Mon, 13 Jan 1997 18:54:30 +0000 (18:54 +0000)]
Andrew's Makefile.custom generation program...hopefully should
reduce *some* confusion, eh? :)
From: Andrew Martin <martin@biochemistry.ucl.ac.uk>
Bruce Momjian [Mon, 13 Jan 1997 17:22:25 +0000 (17:22 +0000)]
Update create_index manual page to have unique section.
Bruce Momjian [Mon, 13 Jan 1997 17:17:53 +0000 (17:17 +0000)]
Update history file for 1.09 release
Bruce Momjian [Mon, 13 Jan 1997 17:07:45 +0000 (17:07 +0000)]
Re-add -lm link flag
Bruce Momjian [Mon, 13 Jan 1997 17:04:04 +0000 (17:04 +0000)]
Change -lIPC to -lipc.
Bruce Momjian [Mon, 13 Jan 1997 16:47:52 +0000 (16:47 +0000)]
Fix typo in findstring use.
Bryan Henderson [Mon, 13 Jan 1997 03:54:48 +0000 (03:54 +0000)]
Part of patch to make a working nextstep port.
Bruce Momjian [Mon, 13 Jan 1997 03:45:33 +0000 (03:45 +0000)]
Added VERBOSE option to vacuum command.
Bruce Momjian [Mon, 13 Jan 1997 02:35:32 +0000 (02:35 +0000)]
Oops, introduced a bug in EOF handling. Fix it.
Bruce Momjian [Mon, 13 Jan 1997 02:03:31 +0000 (02:03 +0000)]
No EOF from psql when quiet mode.
Bryan Henderson [Mon, 13 Jan 1997 01:26:29 +0000 (01:26 +0000)]
Add nextstep port, courtesy of Ovidiu Predescu.
Marc G. Fournier [Mon, 13 Jan 1997 01:25:29 +0000 (01:25 +0000)]
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
OK, The votes are in for the NOFILES limit.
With the exception of Next, for which I've not yet heard, all supported platforms
seem to have the sysconf() call.
port supported default Source.
aix yes 2000 darrenk@insightdist.com
alpha yes 4096 mjl@wwx.vip.at
BSD44_derived yes 64 scrappy@hub.org
bsdi yes ??? maillist@candle.pha.pa.us
dgux yes ??? geek@andrew.cmu.edu
hpux yes 60 emkxp01@mtcc.demon.co.uk
i386_solaris yes 64 emkxp01@mtcc.demon.co.uk
irix5 yes 200 martin@biochem.uc.ac.uk
linux yes 256 emkxp01@mtcc.demon.co.uk
next ???? ???
sparc_solaris yes 64 emkxp01@mtcc.demon.co.uk
sunos4 yes 64 emkxp01@mtcc.demon.co.uk
svr4 yes 64 chicks@chicks.net
ultrix4 yes 64 erik@sockdev.uni-c.dk
So here's a patch that I think will do the job.
(I assume Next will have sysconf() but if not just add MISSING_SYSCONF to
the config.h file )
Thanks,
Keith.
Bruce Momjian [Sun, 12 Jan 1997 04:25:23 +0000 (04:25 +0000)]
Shared library cleanup for -fpic.
Marc G. Fournier [Sat, 11 Jan 1997 14:28:51 +0000 (14:28 +0000)]
Fixes:
I forgot to clear out the variable created and the memory used.
From: darcy@druid.net (D'Arcy J.M. Cain)
Marc G. Fournier [Sat, 11 Jan 1997 14:24:40 +0000 (14:24 +0000)]
From: darcy@druid.net (D'Arcy J.M. Cain)
Fix for libpgtcl:
I forgot to clear out the variable created and the memory used.
Bruce Momjian [Fri, 10 Jan 1997 21:22:02 +0000 (21:22 +0000)]
INSTALL fix for pg_hba.conf
Bruce Momjian [Fri, 10 Jan 1997 20:52:32 +0000 (20:52 +0000)]
I've noticed that \i filename in 6.0beta prints the input file double-spaced.
Here is a trivial patch to get back the 1.09 behavior; it just removes trailing
newlines before printing the line out with a newline rather than after...
Thomas Lockhart
Bruce Momjian [Fri, 10 Jan 1997 20:44:41 +0000 (20:44 +0000)]
Remove octal character constants and convert to decimal constants
Bruce Momjian [Fri, 10 Jan 1997 20:19:49 +0000 (20:19 +0000)]
include sem.h added, include string.h neede, from Erik Bertelsen for Ultrix
Bruce Momjian [Fri, 10 Jan 1997 19:30:27 +0000 (19:30 +0000)]
Irix fixes from Martin
Bruce Momjian [Fri, 10 Jan 1997 18:55:24 +0000 (18:55 +0000)]
cleanup for LINUX_ELF
Bruce Momjian [Fri, 10 Jan 1997 18:22:41 +0000 (18:22 +0000)]
timeb.h only used when not using POSIX_TIME
Bruce Momjian [Fri, 10 Jan 1997 18:19:02 +0000 (18:19 +0000)]
Makefile's -fpic only for gcc
Bruce Momjian [Fri, 10 Jan 1997 17:46:33 +0000 (17:46 +0000)]
Massimo fix for non-existant file copy error.
Bruce Momjian [Fri, 10 Jan 1997 17:40:07 +0000 (17:40 +0000)]
I found the following bugs in the version 6.0 (dated 961229).
At least the first two should be fixed before the final release of 6.0.
1) There is a mismatch between the type declared in the catalog for
the input/output attributes of pg_type and the actual type of
values stored in the table. The type of typinput, typoutput,
typsend and typreceive are declared oid (26) while the values are
regproc (24). The error was there also in previous versions but
nobody noticed it until an Assert has been added in ExecEvalVar.
The effect is that it is now impossible to replace the typoutput
of existing data types with new procs.
2) The identd hba fails after the first time because the data read
from the identd socket is not zero-terminated and strlen reports
an incorrect length if the stack contains garbage, which usually
happens after the first connection has been made.
3) The new initdb wants to create itself the data directory. This
implies that the parent directory must be writable by postgres and
this may not always be desirable. A better solution would be to
allow the directory to be created by root and then filled by initdb.
It would also nice to have some reasonable default for PGLIB and
PGDATA like the previous version did. This applies also to the
postmaster executable.
Vadim B. Mikheev [Fri, 10 Jan 1997 10:06:20 +0000 (10:06 +0000)]
Fixed (I hope) unique btree index implementation.
Vadim B. Mikheev [Fri, 10 Jan 1997 10:00:39 +0000 (10:00 +0000)]
index_insert has now HeapRelation as last param (for unique index
implementation).
Vadim B. Mikheev [Fri, 10 Jan 1997 09:51:40 +0000 (09:51 +0000)]
index_insert has now HeapRelation as last param (for unique index
implementation).
Vadim B. Mikheev [Fri, 10 Jan 1997 09:46:33 +0000 (09:46 +0000)]
index_insert has now HeapRelation as last param (for
unique index implementation).