Commit Graph

34014 Commits

Author SHA1 Message Date
Marc G. Fournier
7bdd8dcac3 This prevent gcc from complaining about casting a short to a char * and
fixes another complaint.

More fixes from Bruce...
1996-07-31 18:48:16 +00:00
Marc G. Fournier
9c0f89c4a4 More patches for BSDi from Bruce 1996-07-31 18:43:58 +00:00
Marc G. Fournier
4e82924eac Row count patch from Bruce 1996-07-31 18:40:12 +00:00
Marc G. Fournier
7d2000e3a7 Fix for <machine.h> bug
Submitted by: Bruce
1996-07-31 17:35:13 +00:00
Marc G. Fournier
c317bdc9fd Re-arrange KRBVERS postition
Suggested by: Daniel Kalchev <daniel@digsys.bg>
1996-07-31 17:19:49 +00:00
Marc G. Fournier
c114bf330d A "lost in the archives" patch from Chris Dunlop <chris@atlas.onthe.net.au> 1996-07-31 06:09:46 +00:00
Marc G. Fournier
dbf2a8c984 Everyone seems to suggestion this is something that should be there...
#include <sys/termios.h>

Submitted by: Dr. George
1996-07-31 06:05:46 +00:00
Marc G. Fournier
5eb17f53b6 Moved src/extend to contrib 1996-07-31 02:30:10 +00:00
Marc G. Fournier
c6cf21825a already exists in the contrib directory 1996-07-31 02:28:22 +00:00
Marc G. Fournier
3881cbd2f6 Added <sys/termios.h> for i386_solaris port
Submitted by: Dr_George_D_Detlefsen <drgeorge@ilt.com>
1996-07-31 02:20:59 +00:00
Marc G. Fournier
a05ed5bc11 Fixes:
In postgres95/src/backend/nodes/readfuncs, lines 1188 and 1189,
local_node->relname is taken to point to a NameType, while its
defined as a pointer to char. Both the casting to Name and the
call of namestrcpy should, IMHO, be changed appropriately (first
patch).

As far as I could see from the Linux signal header file,
a signal handler is declared as

        typedef void (*__sighandler_t)(int);

Few changes to postgres95/src/backend/storage/lmgr/proc.c seem
appropriate to comply with this.

Finally, postgres95/src/bin/pg_version/pg_version.c defines
a function GetDataHome (by default, returning an integer)
and returns NULL in the function, which isn't an integer...

Submitted by:  ernst.molitor@uni-bonn.de
1996-07-31 02:19:23 +00:00
Marc G. Fournier
4477b6f6c2 Fixes:
updates the psql.1 manual page for \ options
        add row count and ties it to the header option
        updated manual pages and comment for above change
        got \? to display in one screen-full (almost, \? scrolls off top)
        moved \r to \E, and \z to \r (for historical reasons with monitor)
        small code alignment cleanup

Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
1996-07-31 02:11:23 +00:00
Marc G. Fournier
1af2cc0d58 Style didn't appeal to some...:)
Submitted by:  Bruce Momjian <maillist@candle.pha.pa.us>
1996-07-31 02:07:25 +00:00
Marc G. Fournier
e0d48c317c Fixes: Floating point exception in psql
Submitted by: Dan McGuirk <mcguirk@indirect.com>
1996-07-31 02:06:00 +00:00
Marc G. Fournier
74cdf92868 Fixes:
>   INDEXED searches in some cases DO NOT WORK.
>   Although simple search expressions (i.e. with a constant value on
> the right side of an operator) work, performing a join (by putting
> a field of some other table on the right side of an operator) produces
> empty output.
>   WITHOUT indices, everything works fine.
>

submitted by: "Vadim B. Mikheev" <root@ais.sable.krasnoyarsk.su>
1996-07-30 07:56:04 +00:00
Marc G. Fournier
e5e12f6405 More cleanups by "Kurt J. Lidl" <lidl@va.pubnix.com> 1996-07-30 07:47:58 +00:00
Marc G. Fournier
519496b63e More cleandups from: "Kurt J. Lidl" <lidl@va.pubnix.com> 1996-07-30 07:41:38 +00:00
Marc G. Fournier
be19feb14a The decode function in psql.c doesn't return anything, so its
declaration is incorrect.

-Kurt
1996-07-29 20:58:42 +00:00
Marc G. Fournier
c4ea55d2c9 clean up /tmp behind itself
submitted by: bruce
1996-07-29 20:52:24 +00:00
Marc G. Fournier
496b937dca Change ordering of "user modified variables" so that they are at
the top of th efile instead of scattered throughout

Turned off default behavior of compiling with -g enabled

submitted by; bruce
1996-07-29 20:51:41 +00:00
Marc G. Fournier
48cde8d83b fix a redeclaration error
submitted by Kurt
1996-07-29 20:49:02 +00:00
Marc G. Fournier
20f3236650 Modifications for bsdi from Kurt(sp?) 1996-07-29 06:54:01 +00:00
Marc G. Fournier
7450ea6dfb cosmetic changes: char* x changed to char *x
submitted by: bruce
1996-07-28 07:08:15 +00:00
Marc G. Fournier
0e887c541e reversed bruces patch to getopt() loop about optarg
submitted by: bruce
1996-07-28 06:59:43 +00:00
Marc G. Fournier
4b3cb03104 fixes: It appears several routines use lcons to store integers rather than
pointers.

submitted by: bruce
1996-07-28 06:56:28 +00:00
Marc G. Fournier
b834d27bc9 small port fixes for sparc_solaris
submitted by: jason
1996-07-28 06:54:15 +00:00
Julian Assange
ed3240d093 bugfix: if NOREADLINE was not defined and input was not from a tty, then
the getopt() was not executed.
1996-07-28 06:48:42 +00:00
Marc G. Fournier
64b130a8e7 Various fixes required for psql
Submitted by: Bruce
1996-07-27 04:38:22 +00:00
Marc G. Fournier
edb519b14c and now, the long awaited PAGER patches from Bruce...
Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
1996-07-27 02:55:23 +00:00
Marc G. Fournier
6e077b0ae5 Further modifications for fixing createuser bug...
Submitted by: Rick Weldon <rick@wisetech.com>
1996-07-27 02:40:45 +00:00
Marc G. Fournier
22113f81fd This is a patch to pg_dump which fixes varchar and char printing in the
case where the attribute length is variable (stored as -1).  Previously,
you'd get output that looked like:

CREATE TABLE foo (bar varchar(-1));

Monitor and psql don't like this at all :).  Here is a fix:


Submitted by: Adam Sussman <myddryn@vidya.com>
1996-07-27 02:29:51 +00:00
Marc G. Fournier
c13ef1afed My patch to fe-connect.c introduced a new bug which is triggered only, if
Kerberos is being used (attempt to free static memory).
The error was caused by a confusing doublespeak of fe_getauthname():
Returns a pointer to static memory, if you authenticate via Kerberos,
a pointer to dynamic memory otherwise.

Submitted by: Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
1996-07-27 02:27:55 +00:00
Marc G. Fournier
1a675fe5b2 Fixed these script sonce and for all?
Submitted by: Rick Weldon <rick@wisetech.com>
1996-07-27 02:19:18 +00:00
Marc G. Fournier
32a3858add corrects the output for a 'SELECT DISTINCT ON ...' at line 2900
submitted by: Dr_George_D_Detlefsen <drgeorge@ilt.com>
1996-07-27 02:06:10 +00:00
Marc G. Fournier
b141c5a973 Fix where 'make clean' wipes out everything if no obj directory
exists...

Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
1996-07-27 02:04:12 +00:00
Marc G. Fournier
95b6f6ea33 Missed a small patch fro mBruce for BSDi 1996-07-26 20:39:04 +00:00
Marc G. Fournier
f45dfa6174 should always take mail headers out of Makefile files befor ecommitting :) 1996-07-26 20:15:40 +00:00
Marc G. Fournier
e4b2558fa3 Minor bug fix 1996-07-26 20:03:21 +00:00
Marc G. Fournier
ba4b7f5021 regression Makefile, rev 2
Submitted by: Dr. George
1996-07-26 19:58:04 +00:00
Marc G. Fournier
8a372d202f Add in port to DG/UX
Submitted by: "Brian E. Gallew" <geek+@cmu.edu>
1996-07-25 20:45:05 +00:00
Marc G. Fournier
5315d37c20 Fix applied for NESTLOOP bug
submitted by: vadim@sable.krasnoyarsk.su (Vadim B. Mikheev)
1996-07-25 20:36:46 +00:00
Marc G. Fournier
aac483943d fixed usuage of -ltermcap for psql
submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
1996-07-25 20:01:51 +00:00
Marc G. Fournier
9e0a8d4b26 improvements to regression testing
submitted by: dr. george
1996-07-25 19:56:59 +00:00
Marc G. Fournier
14cd0ca3bd modified i386_solaris port
submitted by: dr. george
1996-07-25 19:48:24 +00:00
Marc G. Fournier
31cae34d07 multiple define of 'union semun' removed
submitted by: dr. george
1996-07-25 19:45:31 +00:00
Marc G. Fournier
fd35587d4c moved the FLEX stuf from Makefile.global to here 1996-07-25 07:28:12 +00:00
Marc G. Fournier
10369ad7b2 removed tas.s refernce 1996-07-25 07:27:08 +00:00
Marc G. Fournier
65b4b39246 Dr George suggested removing Makefile.custom altogether, to reduce
any confusion...so its gone...
1996-07-25 07:26:37 +00:00
Marc G. Fournier
ff50e5ab47 Switched from using monitor to using psql
Submitted by: Rick Weldon <rick@wisetech.com>
1996-07-25 06:55:49 +00:00
Marc G. Fournier
69ee15d663 Removed monitor from compile/install (will eventually be removed
completely)
1996-07-25 06:54:26 +00:00