Commit Graph

942 Commits

Author SHA1 Message Date
Bruce Momjian 0d3bf78e0b Added VERBOSE option to vacuum command. 1997-01-13 03:45:33 +00:00
Bruce Momjian febfe447a7 Oops, introduced a bug in EOF handling. Fix it. 1997-01-13 02:35:32 +00:00
Bruce Momjian cac3463649 No EOF from psql when quiet mode. 1997-01-13 02:03:31 +00:00
Bryan Henderson 2de3d96f69 Add nextstep port, courtesy of Ovidiu Predescu. 1997-01-13 01:26:29 +00:00
Marc G. Fournier ef228cb170 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.
1997-01-13 01:25:29 +00:00
Bruce Momjian 2595785b9b Shared library cleanup for -fpic. 1997-01-12 04:25:23 +00:00
Marc G. Fournier e2e6b2d730 Fixes:
I forgot to clear out the variable created and the memory used.

From: darcy@druid.net (D'Arcy J.M. Cain)
1997-01-11 14:28:51 +00:00
Marc G. Fournier 8738e47d03 From: darcy@druid.net (D'Arcy J.M. Cain)
Fix for libpgtcl:

I forgot to clear out the variable created and the memory used.
1997-01-11 14:24:40 +00:00
Bruce Momjian 7f833f8826 INSTALL fix for pg_hba.conf 1997-01-10 21:22:02 +00:00
Bruce Momjian ce02ccf43d 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
1997-01-10 20:52:32 +00:00
Bruce Momjian 0567d7edb0 Remove octal character constants and convert to decimal constants 1997-01-10 20:44:41 +00:00
Bruce Momjian a5dd06f763 include sem.h added, include string.h neede, from Erik Bertelsen for Ultrix 1997-01-10 20:19:49 +00:00
Bruce Momjian ccaf3854d7 Irix fixes from Martin 1997-01-10 19:30:27 +00:00
Bruce Momjian 63b22d8aa9 cleanup for LINUX_ELF 1997-01-10 18:55:24 +00:00
Bruce Momjian 37c168f6ba timeb.h only used when not using POSIX_TIME 1997-01-10 18:22:41 +00:00
Bruce Momjian 59dcac1e5d Makefile's -fpic only for gcc 1997-01-10 18:19:02 +00:00
Bruce Momjian a0d9bdd99b Massimo fix for non-existant file copy error. 1997-01-10 17:46:33 +00:00
Bruce Momjian 90ff767d14 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.
1997-01-10 17:40:07 +00:00
Vadim B. Mikheev daec84f09d Fixed (I hope) unique btree index implementation. 1997-01-10 10:06:20 +00:00
Vadim B. Mikheev c6a605705c index_insert has now HeapRelation as last param (for unique index
implementation).
1997-01-10 10:00:39 +00:00
Vadim B. Mikheev f48936e8ef index_insert has now HeapRelation as last param (for unique index
implementation).
1997-01-10 09:51:40 +00:00
Vadim B. Mikheev 675457d6ab index_insert has now HeapRelation as last param (for
unique index implementation).
1997-01-10 09:46:33 +00:00
Vadim B. Mikheev c7990b35f7 index_insert has now HeapRelation as last param (for
unique index implementation).
1997-01-10 09:36:34 +00:00
Vadim B. Mikheev 41857f3ca2 Additional fixes for shared library (BSD44_Derived port). 1997-01-10 04:01:09 +00:00
Vadim B. Mikheev f91b26a5da #include <postgres.h> moved upper 1997-01-09 03:38:14 +00:00
Marc G. Fournier 389e336ca9 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
1997-01-08 23:25:32 +00:00
Bruce Momjian 16293d05e0 Removed equals sign from examples. 1997-01-08 22:37:23 +00:00
Bruce Momjian a921389fec New migration file. 1997-01-08 22:33:46 +00:00
Vadim B. Mikheev ce5009f99b #include "postgres.h"
moved upper.
1997-01-08 10:33:46 +00:00
Bryan Henderson 3c4b21493d Use proper types so it compiles on DEC C89. Thanks Erik Bertelson. 1997-01-08 08:39:10 +00:00
Bryan Henderson 5e98c40129 Change the way ipc.h is included because sys/ipc.h on Ultrix is broken. 1997-01-08 08:33:07 +00:00
Bryan Henderson e5ff0b930a Add include of port-protos.h so it works on Ultrix. Thanks Erik Bertelson. 1997-01-08 08:31:07 +00:00
Bryan Henderson 76981276b0 Fix syntax error 1997-01-08 08:30:21 +00:00
Marc G. Fournier 5aea6a0bca minor path problem fix by tgl@mythos.jpl.nasa.gov 1997-01-08 07:32:58 +00:00
Marc G. Fournier d02015d1cc Typo: Change Postgres95 to PostgreSQL
By: tgl@mythos.jpl.nasa.gov
1997-01-08 07:32:15 +00:00
Marc G. Fournier 73b6ffbf76 Improvements to pg_dump to:
- dump Views

Submitted by: Keith Parks <emkxp01@mtcc.demon.co.uk>
1997-01-07 00:04:19 +00:00
Bryan Henderson 14800311d2 Fix mismatching prototype (const int vs int) 1997-01-06 10:11:11 +00:00
Bryan Henderson 2091345297 Add Irix stuff. 1997-01-06 10:10:43 +00:00
Marc G. Fournier 76bf7f9d68 remove zap_ltv from the distribution, since the problem it fixed doesn't
exist anymore...
1997-01-06 03:46:44 +00:00
Marc G. Fournier 046873ac90 REmove pg4_dump...its old stuff that is sooo out of date as to be useless... 1997-01-06 03:25:40 +00:00
Marc G. Fournier 5b104c30e9 NeXT port specific changes by: Ovidiu Predescu <ovidiu@bx.logicnet.ro> 1997-01-06 00:24:24 +00:00
Marc G. Fournier a9bfcf459e 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?
1997-01-06 00:22:55 +00:00
Marc G. Fournier 151d484ca5 Minor changes for NeXT compile
Submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
1997-01-06 00:20:13 +00:00
Marc G. Fournier 3d53b87369 More config.h syncing for limits.h 1997-01-06 00:15:26 +00:00
Marc G. Fournier 8ec5bd06b7 Add NeXT port submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro> 1997-01-06 00:12:34 +00:00
Marc G. Fournier 1321fe1a81 Clean up 'if defined()' for header files... 1997-01-06 00:08:31 +00:00
Marc G. Fournier 5f5958cb98 add define for USE_LIMIT_H into NeXT port...
Pointed out by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
1997-01-06 00:08:07 +00:00
Marc G. Fournier 8251ce7d10 final fix for shared library under BSD44_derived
Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
1997-01-05 23:53:57 +00:00
Marc G. Fournier 0865f587ea 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
1997-01-05 23:52:21 +00:00
Marc G. Fournier ea7a26c84b Fixes:
This corrects the newline handling when using the readline library.

Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
1997-01-05 23:46:17 +00:00