Marc G. Fournier [Tue, 6 Aug 1996 16:27:59 +0000 (16:27 +0000)]
Fixes:
While a normal SELECT statement can contain a GROUP BY clause, a cursor
declaration cannot. This was not the case in PG-1.0. Was there a good
reason why this was changed? Are cursors being phased out? Is there any way
to get data with just a SELECT (and without a DECLARE CURSOR ...)?
The patch below seems to fix things. If anyone can see a problem with it,
please let me know. Thanks.
Submitted by: David Smith
Marc G. Fournier [Tue, 6 Aug 1996 16:16:50 +0000 (16:16 +0000)]
Fixes for:
Here are a few minor fixes to Postgres95. Mostly I have added const
to some of the char pointers. There was also a missing header file
and a place where it looks like "==" was used when "=" was meant.
I also changed some variables from Pfin and Pfout tp pfin and pfout
because the latter shadow global variables and that just seems like
an unsafe practice which I like to avoid.
Submitted by: "D'Arcy J.M. Cain"
Marc G. Fournier [Tue, 6 Aug 1996 16:05:56 +0000 (16:05 +0000)]
Had a space in CFLAGS+= -I ..
Submitted by: Andrew Martin
Julian Assange [Tue, 6 Aug 1996 00:40:12 +0000 (00:40 +0000)]
added patch from kurt that fixes memory leak (didn't free line buffer
for slash commands)
Marc G. Fournier [Mon, 5 Aug 1996 00:25:07 +0000 (00:25 +0000)]
Fixes:
Someone asked me if the bpchar type could be extended to do
case-insensitive regular expression searches.
Submitted by: "Alistair G. Crooks"
Marc G. Fournier [Sun, 4 Aug 1996 22:00:13 +0000 (22:00 +0000)]
Fix a bug in pg_class
submitted by: "Peter Daum"
Marc G. Fournier [Sun, 4 Aug 1996 21:03:23 +0000 (21:03 +0000)]
Quick patch for compiling under BSD/OS 2.0 from Bruce
Marc G. Fournier [Fri, 2 Aug 1996 01:24:00 +0000 (01:24 +0000)]
Okay...*last* commit, now to create a release...
README file for regresssion tests from Dr. George
Marc G. Fournier [Fri, 2 Aug 1996 01:18:05 +0000 (01:18 +0000)]
Update to expected.input from Dr. George
Marc G. Fournier [Thu, 1 Aug 1996 19:46:46 +0000 (19:46 +0000)]
Fixes:
make TCL conditinal compilation work
Submitted by: Dr_George_D_Detlefsen
Marc G. Fournier [Thu, 1 Aug 1996 05:11:33 +0000 (05:11 +0000)]
Fixes:
Originally, I thought the problem was caused by a function that gets
called as a normal function where we want to return a value, and as a
signal handler where we need to have it accept a parameter (the signal
number) and it returns nothing, I was going to case the function name in
the signal call as (void (*)(int)).
Looking at all the source, it turns out this function only gets used as
a signal handler, so I set an int parameter and return void.
I have removed the Linux defines because they are not needed. BSD let
this sloppiness slide. Linux gave a compile error.
Submitted by: Bruce Momjian
Marc G. Fournier [Thu, 1 Aug 1996 05:04:29 +0000 (05:04 +0000)]
Change the TEMPDIR to be obj instead of /tmp
Suggested by: Michael Babcock
Marc G. Fournier [Thu, 1 Aug 1996 04:53:22 +0000 (04:53 +0000)]
An actual README file for the regression tests
Submitted by: Dr. George
Marc G. Fournier [Thu, 1 Aug 1996 04:51:49 +0000 (04:51 +0000)]
A newer expected.input file for the regression tests
Submitted by: Dr. Geoge
Marc G. Fournier [Wed, 31 Jul 1996 18:59:00 +0000 (18:59 +0000)]
Move port includes from bin/pg_dump/Makefile to Makefile.global
Marc G. Fournier [Wed, 31 Jul 1996 18:52:38 +0000 (18:52 +0000)]
Standardize locations of TCL related files
Submitted by: Dr_George_D_Detlefsen
Marc G. Fournier [Wed, 31 Jul 1996 18:48:16 +0000 (18:48 +0000)]
This prevent gcc from complaining about casting a short to a char * and
fixes another complaint.
More fixes from Bruce...
Marc G. Fournier [Wed, 31 Jul 1996 18:43:58 +0000 (18:43 +0000)]
More patches for BSDi from Bruce
Marc G. Fournier [Wed, 31 Jul 1996 18:40:12 +0000 (18:40 +0000)]
Row count patch from Bruce
Marc G. Fournier [Wed, 31 Jul 1996 17:35:13 +0000 (17:35 +0000)]
Fix for bug
Submitted by: Bruce
Marc G. Fournier [Wed, 31 Jul 1996 17:19:49 +0000 (17:19 +0000)]
Re-arrange KRBVERS postition
Suggested by: Daniel Kalchev
Marc G. Fournier [Wed, 31 Jul 1996 06:09:46 +0000 (06:09 +0000)]
A "lost in the archives" patch from Chris Dunlop
Marc G. Fournier [Wed, 31 Jul 1996 06:05:46 +0000 (06:05 +0000)]
Everyone seems to suggestion this is something that should be there...
#include
Submitted by: Dr. George
Marc G. Fournier [Wed, 31 Jul 1996 02:30:10 +0000 (02:30 +0000)]
Moved src/extend to contrib
Marc G. Fournier [Wed, 31 Jul 1996 02:28:22 +0000 (02:28 +0000)]
already exists in the contrib directory
Marc G. Fournier [Wed, 31 Jul 1996 02:20:59 +0000 (02:20 +0000)]
Added for i386_solaris port
Submitted by: Dr_George_D_Detlefsen
Marc G. Fournier [Wed, 31 Jul 1996 02:19:23 +0000 (02:19 +0000)]
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:
[email protected]
Marc G. Fournier [Wed, 31 Jul 1996 02:11:23 +0000 (02:11 +0000)]
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
Marc G. Fournier [Wed, 31 Jul 1996 02:07:25 +0000 (02:07 +0000)]
Style didn't appeal to some...:)
Submitted by: Bruce Momjian
Marc G. Fournier [Wed, 31 Jul 1996 02:06:00 +0000 (02:06 +0000)]
Fixes: Floating point exception in psql
Submitted by: Dan McGuirk
Marc G. Fournier [Tue, 30 Jul 1996 07:56:04 +0000 (07:56 +0000)]
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"
Marc G. Fournier [Tue, 30 Jul 1996 07:47:58 +0000 (07:47 +0000)]
More cleanups by "Kurt J. Lidl"
Marc G. Fournier [Tue, 30 Jul 1996 07:41:38 +0000 (07:41 +0000)]
More cleandups from: "Kurt J. Lidl"
Marc G. Fournier [Mon, 29 Jul 1996 20:58:42 +0000 (20:58 +0000)]
The decode function in psql.c doesn't return anything, so its
declaration is incorrect.
-Kurt
Marc G. Fournier [Mon, 29 Jul 1996 20:52:24 +0000 (20:52 +0000)]
clean up /tmp behind itself
submitted by: bruce
Marc G. Fournier [Mon, 29 Jul 1996 20:51:41 +0000 (20:51 +0000)]
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
Marc G. Fournier [Mon, 29 Jul 1996 20:49:02 +0000 (20:49 +0000)]
fix a redeclaration error
submitted by Kurt
Marc G. Fournier [Mon, 29 Jul 1996 06:54:01 +0000 (06:54 +0000)]
Modifications for bsdi from Kurt(sp?)
Marc G. Fournier [Sun, 28 Jul 1996 07:08:15 +0000 (07:08 +0000)]
cosmetic changes: char* x changed to char *x
submitted by: bruce
Marc G. Fournier [Sun, 28 Jul 1996 06:59:43 +0000 (06:59 +0000)]
reversed bruces patch to getopt() loop about optarg
submitted by: bruce
Marc G. Fournier [Sun, 28 Jul 1996 06:56:28 +0000 (06:56 +0000)]
fixes: It appears several routines use lcons to store integers rather than
pointers.
submitted by: bruce
Marc G. Fournier [Sun, 28 Jul 1996 06:54:15 +0000 (06:54 +0000)]
small port fixes for sparc_solaris
submitted by: jason
Julian Assange [Sun, 28 Jul 1996 06:48:42 +0000 (06:48 +0000)]
bugfix: if NOREADLINE was not defined and input was not from a tty, then
the getopt() was not executed.
Marc G. Fournier [Sat, 27 Jul 1996 04:38:22 +0000 (04:38 +0000)]
Various fixes required for psql
Submitted by: Bruce
Marc G. Fournier [Sat, 27 Jul 1996 02:55:23 +0000 (02:55 +0000)]
and now, the long awaited PAGER patches from Bruce...
Submitted by: Bruce Momjian
Marc G. Fournier [Sat, 27 Jul 1996 02:40:45 +0000 (02:40 +0000)]
Further modifications for fixing createuser bug...
Submitted by: Rick Weldon
Marc G. Fournier [Sat, 27 Jul 1996 02:29:51 +0000 (02:29 +0000)]
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
Marc G. Fournier [Sat, 27 Jul 1996 02:27:55 +0000 (02:27 +0000)]
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
Marc G. Fournier [Sat, 27 Jul 1996 02:19:18 +0000 (02:19 +0000)]
Fixed these script sonce and for all?
Submitted by: Rick Weldon
Marc G. Fournier [Sat, 27 Jul 1996 02:06:10 +0000 (02:06 +0000)]
corrects the output for a 'SELECT DISTINCT ON ...' at line 2900
submitted by: Dr_George_D_Detlefsen
Marc G. Fournier [Sat, 27 Jul 1996 02:04:12 +0000 (02:04 +0000)]
Fix where 'make clean' wipes out everything if no obj directory
exists...
Submitted by: Bruce Momjian
Marc G. Fournier [Fri, 26 Jul 1996 20:39:04 +0000 (20:39 +0000)]
Missed a small patch fro mBruce for BSDi
Marc G. Fournier [Fri, 26 Jul 1996 20:15:40 +0000 (20:15 +0000)]
should always take mail headers out of Makefile files befor ecommitting :)
Marc G. Fournier [Fri, 26 Jul 1996 20:03:21 +0000 (20:03 +0000)]
Minor bug fix
Marc G. Fournier [Fri, 26 Jul 1996 19:58:04 +0000 (19:58 +0000)]
regression Makefile, rev 2
Submitted by: Dr. George
Marc G. Fournier [Thu, 25 Jul 1996 20:45:05 +0000 (20:45 +0000)]
Add in port to DG/UX
Submitted by: "Brian E. Gallew"
Marc G. Fournier [Thu, 25 Jul 1996 20:36:46 +0000 (20:36 +0000)]
Fix applied for NESTLOOP bug
submitted by:
[email protected] (Vadim B. Mikheev)
Marc G. Fournier [Thu, 25 Jul 1996 20:01:51 +0000 (20:01 +0000)]
fixed usuage of -ltermcap for psql
submitted by: Bruce Momjian
Marc G. Fournier [Thu, 25 Jul 1996 19:56:59 +0000 (19:56 +0000)]
improvements to regression testing
submitted by: dr. george
Marc G. Fournier [Thu, 25 Jul 1996 19:48:24 +0000 (19:48 +0000)]
modified i386_solaris port
submitted by: dr. george
Marc G. Fournier [Thu, 25 Jul 1996 19:45:31 +0000 (19:45 +0000)]
multiple define of 'union semun' removed
submitted by: dr. george
Marc G. Fournier [Thu, 25 Jul 1996 07:28:12 +0000 (07:28 +0000)]
moved the FLEX stuf from Makefile.global to here
Marc G. Fournier [Thu, 25 Jul 1996 07:27:08 +0000 (07:27 +0000)]
removed tas.s refernce
Marc G. Fournier [Thu, 25 Jul 1996 07:26:37 +0000 (07:26 +0000)]
Dr George suggested removing Makefile.custom altogether, to reduce
any confusion...so its gone...
Marc G. Fournier [Thu, 25 Jul 1996 06:55:49 +0000 (06:55 +0000)]
Switched from using monitor to using psql
Submitted by: Rick Weldon