OSDN Git Service
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).
Vadim B. Mikheev [Fri, 10 Jan 1997 09:36:34 +0000 (09:36 +0000)]
index_insert has now HeapRelation as last param (for
unique index implementation).
Vadim B. Mikheev [Fri, 10 Jan 1997 04:01:09 +0000 (04:01 +0000)]
Additional fixes for shared library (BSD44_Derived port).
Vadim B. Mikheev [Thu, 9 Jan 1997 03:38:14 +0000 (03:38 +0000)]
#include <postgres.h> moved upper
Marc G. Fournier [Wed, 8 Jan 1997 23:25:32 +0000 (23:25 +0000)]
From: wieck@sapserv.debis.de
Hi,
counting the empty dummy queries in libpq isn't everything.
If the backend sends an error, the I returns from the dummies
still come. So we must eat them up in any case, not just
returning on the occurence of an E reply.
Until later, Jan
Bruce Momjian [Wed, 8 Jan 1997 22:37:23 +0000 (22:37 +0000)]
Removed equals sign from examples.
Bruce Momjian [Wed, 8 Jan 1997 22:33:46 +0000 (22:33 +0000)]
New migration file.
Vadim B. Mikheev [Wed, 8 Jan 1997 10:33:46 +0000 (10:33 +0000)]
#include "postgres.h"
moved upper.
Bryan Henderson [Wed, 8 Jan 1997 08:39:10 +0000 (08:39 +0000)]
Use proper types so it compiles on DEC C89. Thanks Erik Bertelson.
Bryan Henderson [Wed, 8 Jan 1997 08:33:07 +0000 (08:33 +0000)]
Change the way ipc.h is included because sys/ipc.h on Ultrix is broken.
Bryan Henderson [Wed, 8 Jan 1997 08:31:07 +0000 (08:31 +0000)]
Add include of port-protos.h so it works on Ultrix. Thanks Erik Bertelson.
Bryan Henderson [Wed, 8 Jan 1997 08:30:21 +0000 (08:30 +0000)]
Fix syntax error
Marc G. Fournier [Wed, 8 Jan 1997 07:32:58 +0000 (07:32 +0000)]
minor path problem fix by tgl@mythos.jpl.nasa.gov
Marc G. Fournier [Wed, 8 Jan 1997 07:32:15 +0000 (07:32 +0000)]
Typo: Change Postgres95 to PostgreSQL
By: tgl@mythos.jpl.nasa.gov
Marc G. Fournier [Tue, 7 Jan 1997 00:04:19 +0000 (00:04 +0000)]
Improvements to pg_dump to:
- dump Views
Submitted by: Keith Parks <emkxp01@mtcc.demon.co.uk>
Bryan Henderson [Mon, 6 Jan 1997 10:11:11 +0000 (10:11 +0000)]
Fix mismatching prototype (const int vs int)
Bryan Henderson [Mon, 6 Jan 1997 10:10:43 +0000 (10:10 +0000)]
Add Irix stuff.
Marc G. Fournier [Mon, 6 Jan 1997 03:46:44 +0000 (03:46 +0000)]
remove zap_ltv from the distribution, since the problem it fixed doesn't
exist anymore...
Marc G. Fournier [Mon, 6 Jan 1997 03:25:40 +0000 (03:25 +0000)]
REmove pg4_dump...its old stuff that is sooo out of date as to be useless...
Marc G. Fournier [Mon, 6 Jan 1997 00:24:24 +0000 (00:24 +0000)]
NeXT port specific changes by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
Marc G. Fournier [Mon, 6 Jan 1997 00:22:55 +0000 (00:22 +0000)]
PORT NeXT requires an isascii() define...put it in config.h, most likely
*should* have gone into the ports directory, but hopefully *someday* we'll
be able to get rid of that?
Marc G. Fournier [Mon, 6 Jan 1997 00:20:13 +0000 (00:20 +0000)]
Minor changes for NeXT compile
Submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
Marc G. Fournier [Mon, 6 Jan 1997 00:15:26 +0000 (00:15 +0000)]
More config.h syncing for limits.h
Marc G. Fournier [Mon, 6 Jan 1997 00:12:34 +0000 (00:12 +0000)]
Add NeXT port submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
Marc G. Fournier [Mon, 6 Jan 1997 00:08:31 +0000 (00:08 +0000)]
Clean up 'if defined()' for header files...
Marc G. Fournier [Mon, 6 Jan 1997 00:08:07 +0000 (00:08 +0000)]
add define for USE_LIMIT_H into NeXT port...
Pointed out by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
Marc G. Fournier [Sun, 5 Jan 1997 23:53:57 +0000 (23:53 +0000)]
final fix for shared library under BSD44_derived
Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
Marc G. Fournier [Sun, 5 Jan 1997 23:52:21 +0000 (23:52 +0000)]
Shared library fixes for BSD44_Derived port
Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
NOTE: The following patch I was uncertain of, but applied it...will end up
testing the compile on my machine later tonight anyway, but if anyone
knows why this *shouldn't* have been done, please change it. (CC -> LD)
***************
*** 61,68 ****
../backend/lib/dllist.o:
$(MAKE) -C ../backend/lib dllist.o
! libpq.so.1: $(OBJS)
! $(CC) $(LDFLAGS) -shared $(OBJS) -o libpq.so.1
c.h: ../include/c.h
rm -f c.h
--- 66,73 ----
../backend/lib/dllist.o:
$(MAKE) -C ../backend/lib dllist.o
! $(shlib): $(OBJS)
! $(LD) $(LDFLAGS) -shared $(OBJS) -o $(shlib)
c.h: ../include/c.h
rm -f c.h
Marc G. Fournier [Sun, 5 Jan 1997 23:46:17 +0000 (23:46 +0000)]
Fixes:
This corrects the newline handling when using the readline library.
Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
Marc G. Fournier [Sun, 5 Jan 1997 23:43:58 +0000 (23:43 +0000)]
Fixes:
First, this is because of dlopen() and dlsym() having a char *
in the system prototype.
Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
Marc G. Fournier [Sun, 5 Jan 1997 23:41:43 +0000 (23:41 +0000)]
Just reviewed what I changed as far a dlopen/etc are concerned, and determined
that the "fix" is wrong...
Bryan Henderson [Sun, 5 Jan 1997 21:20:34 +0000 (21:20 +0000)]
Silence compiler warnings, fix error in complex compare function.
Bryan Henderson [Sun, 5 Jan 1997 21:17:45 +0000 (21:17 +0000)]
Standardize all LDADD to LD_ADD.
Vadim B. Mikheev [Sun, 5 Jan 1997 10:58:15 +0000 (10:58 +0000)]
Closing opened indices.
Vadim B. Mikheev [Sun, 5 Jan 1997 10:56:36 +0000 (10:56 +0000)]
Releasing empty root page in _bt_endpoint () to avoid
buffer leak.
Marc G. Fournier [Fri, 3 Jan 1997 18:48:31 +0000 (18:48 +0000)]
someone added pg_listen and pg_notifies to libpgtcl. But first
these routines try to use the old pointer casting stuff to get
the connection id, second the notification hash table should
be part of the cliendData. Otherwise, one interpreter might
eat up the notifies for another one.
Please apply the patch below to the current 6.0 tree.
Submitted by: wieck@sapserv.debis.de
Bruce Momjian [Fri, 3 Jan 1997 17:24:45 +0000 (17:24 +0000)]
Migration file changes
Bruce Momjian [Fri, 3 Jan 1997 15:53:50 +0000 (15:53 +0000)]
moved migration files
Bruce Momjian [Fri, 3 Jan 1997 15:50:08 +0000 (15:50 +0000)]
update TODO
Bruce Momjian [Fri, 3 Jan 1997 06:08:21 +0000 (06:08 +0000)]
documentation updating to 6.0 release
Marc G. Fournier [Fri, 3 Jan 1997 04:59:01 +0000 (04:59 +0000)]
FreeBSD doesn't require the dl{open,close,sym,error} functions, as they are
already included in the system libraries.
Used if !defined(__FreeBSD__) to single FreeBSD out from the other BSD44
derived OSs
Bruce Momjian [Thu, 2 Jan 1997 07:07:32 +0000 (07:07 +0000)]
fix for previous fix
Bruce Momjian [Thu, 2 Jan 1997 06:45:25 +0000 (06:45 +0000)]
psql paren. with \r fix.
Bruce Momjian [Thu, 2 Jan 1997 06:18:25 +0000 (06:18 +0000)]
ALTER TABLE (text) fix
Bruce Momjian [Wed, 1 Jan 1997 06:01:16 +0000 (06:01 +0000)]
Fix for SELECT INTO ... GROUP/ORDER BY where table already exists unlink error.
Bryan Henderson [Tue, 31 Dec 1996 07:29:17 +0000 (07:29 +0000)]
Make error messages more explicit, PQtrace() output more readable.
Bryan Henderson [Tue, 31 Dec 1996 07:26:27 +0000 (07:26 +0000)]
Rename Makefile to GNUmakefile to catch people using other makes.
Vadim B. Mikheev [Tue, 31 Dec 1996 06:58:27 +0000 (06:58 +0000)]
Fixed realloc for increasing tempRels list.
Vadim B. Mikheev [Tue, 31 Dec 1996 06:47:30 +0000 (06:47 +0000)]
ReleaseTmpRelBuffers () releases buffers in LOCAL buffer pool now
(if rd_islocal is true).
Bryan Henderson [Mon, 30 Dec 1996 23:19:48 +0000 (23:19 +0000)]
Put $(CURSES_LIB) in Makefile.global to replace similar thing in psql/Makefile.
Bryan Henderson [Mon, 30 Dec 1996 23:05:16 +0000 (23:05 +0000)]
Check that PQendcopy succeeded. Issue error message if not.
Bruce Momjian [Sun, 29 Dec 1996 19:31:16 +0000 (19:31 +0000)]
explain change
Bruce Momjian [Sun, 29 Dec 1996 03:55:36 +0000 (03:55 +0000)]
typo fix
Bruce Momjian [Sun, 29 Dec 1996 00:58:32 +0000 (00:58 +0000)]
New EXPLAIN manual page.
Bruce Momjian [Sun, 29 Dec 1996 00:53:59 +0000 (00:53 +0000)]
Changed EXPLAIN option names.
Bruce Momjian [Sun, 29 Dec 1996 00:53:20 +0000 (00:53 +0000)]
Improved EXPLAIN option handling.
Bruce Momjian [Sat, 28 Dec 1996 23:07:54 +0000 (23:07 +0000)]
Fix expected regression output.
Bruce Momjian [Sat, 28 Dec 1996 22:46:40 +0000 (22:46 +0000)]
Fixed errors in create statement.
Bruce Momjian [Sat, 28 Dec 1996 22:44:58 +0000 (22:44 +0000)]
Fixed error where = should be ==.
Bruce Momjian [Sat, 28 Dec 1996 22:44:14 +0000 (22:44 +0000)]
Fixed Assert check where ! should be !=.