OSDN Git Service
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 <drgeorge@madmax.ilt.com>
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 <machine.h> 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 <daniel@digsys.bg>
Marc G. Fournier [Wed, 31 Jul 1996 06:09:46 +0000 (06:09 +0000)]
A "lost in the archives" patch from Chris Dunlop <chris@atlas.onthe.net.au>
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 <sys/termios.h>
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 <sys/termios.h> for i386_solaris port
Submitted by: Dr_George_D_Detlefsen <drgeorge@ilt.com>
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: ernst.molitor@uni-bonn.de
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 <maillist@candle.pha.pa.us>
Marc G. Fournier [Wed, 31 Jul 1996 02:07:25 +0000 (02:07 +0000)]
Style didn't appeal to some...:)
Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
Marc G. Fournier [Wed, 31 Jul 1996 02:06:00 +0000 (02:06 +0000)]
Fixes: Floating point exception in psql
Submitted by: Dan McGuirk <mcguirk@indirect.com>
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" <root@ais.sable.krasnoyarsk.su>
Marc G. Fournier [Tue, 30 Jul 1996 07:47:58 +0000 (07:47 +0000)]
More cleanups by "Kurt J. Lidl" <lidl@va.pubnix.com>
Marc G. Fournier [Tue, 30 Jul 1996 07:41:38 +0000 (07:41 +0000)]
More cleandups from: "Kurt J. Lidl" <lidl@va.pubnix.com>
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 <maillist@candle.pha.pa.us>
Marc G. Fournier [Sat, 27 Jul 1996 02:40:45 +0000 (02:40 +0000)]
Further modifications for fixing createuser bug...
Submitted by: Rick Weldon <rick@wisetech.com>
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 <myddryn@vidya.com>
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 <eberger@gewi.kfunigraz.ac.at>
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 <rick@wisetech.com>
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 <drgeorge@ilt.com>
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 <maillist@candle.pha.pa.us>
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" <geek+@cmu.edu>
Marc G. Fournier [Thu, 25 Jul 1996 20:36:46 +0000 (20:36 +0000)]
Fix applied for NESTLOOP bug
submitted by: vadim@sable.krasnoyarsk.su (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 <maillist@candle.pha.pa.us>
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 <rick@wisetech.com>
Marc G. Fournier [Thu, 25 Jul 1996 06:54:26 +0000 (06:54 +0000)]
Removed monitor from compile/install (will eventually be removed
completely)
Julian Assange [Thu, 25 Jul 1996 06:46:35 +0000 (06:46 +0000)]
Large re-write/enhancement. In pg-101 Jolly only included a smaller part
of my (proff) patch. This is the rest of it, with a few, mainly aesthetic
changes. I've removed a lot of redundency from the original code,
added support for the new PQprint() routines in libpq, expanded tables,
and a few generally nifty ways of massaging data in and out of the
backend. Still needs some good stress testing.
Julian Assange [Thu, 25 Jul 1996 06:21:11 +0000 (06:21 +0000)]
PQprint() routines. The older code is still there for historical
compatibility. There isn't much difference here against my previous
PQprint() code, except that you can add optional arguments to the
<table args> in html.
Marc G. Fournier [Thu, 25 Jul 1996 01:11:15 +0000 (01:11 +0000)]
Ack, -I$(srcdir)/backend *is* required...
Marc G. Fournier [Thu, 25 Jul 1996 00:30:02 +0000 (00:30 +0000)]
comment out USE_TCL...having USE_TCL=true seems to imply that you
have to have TCL to use postgres95, which you don't
Marc G. Fournier [Thu, 25 Jul 1996 00:26:21 +0000 (00:26 +0000)]
there are no includes files in backend, there should be, so why look
there?
Marc G. Fournier [Thu, 25 Jul 1996 00:22:19 +0000 (00:22 +0000)]
Fix compiler not finding libpgtcl.h header file
Marc G. Fournier [Thu, 25 Jul 1996 00:19:42 +0000 (00:19 +0000)]
Added an empty Makefile.custom file...
Marc G. Fournier [Tue, 23 Jul 1996 05:51:29 +0000 (05:51 +0000)]
Ack, missed two files from the merge...looks like a .11 is goin gto have
to go out after all :(
Marc G. Fournier [Tue, 23 Jul 1996 05:44:10 +0000 (05:44 +0000)]
iBrought in a fix for backend crashes
Submitted by: "Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>
Marc G. Fournier [Tue, 23 Jul 1996 05:24:35 +0000 (05:24 +0000)]
comment out inclue of Makefile.custom, as i tbreaks compiling the
bin directory
Marc G. Fournier [Tue, 23 Jul 1996 03:38:44 +0000 (03:38 +0000)]
Last changes to src from Dr. George *wipes brow*
Marc G. Fournier [Tue, 23 Jul 1996 03:35:14 +0000 (03:35 +0000)]
Alot of "changes" from Dr. George's source tree...
Most of the changes in here look to b epurely cosmetic, and don't
affect anything...
...and some stuff is completely questionable...in that I may have reversed
some of the stuf fwe already had :(
Marc G. Fournier [Tue, 23 Jul 1996 03:24:47 +0000 (03:24 +0000)]
More Merge's from Dr' sourec tree
Marc G. Fournier [Tue, 23 Jul 1996 03:19:34 +0000 (03:19 +0000)]
modifications to regressoin tests
Marc G. Fournier [Tue, 23 Jul 1996 03:13:58 +0000 (03:13 +0000)]
More merge's from Dr. George's sourec tree
Marc G. Fournier [Tue, 23 Jul 1996 03:05:23 +0000 (03:05 +0000)]
spelling error...and correction
Marc G. Fournier [Tue, 23 Jul 1996 03:03:43 +0000 (03:03 +0000)]
Put in a new FAQ
Merged in Dr. George's src/bin tree (possibly broke monitor/psql in process)
Marc G. Fournier [Tue, 23 Jul 1996 02:26:41 +0000 (02:26 +0000)]
reversed julian's patch back in again...othere things cause monitor
to not compile now...
Marc G. Fournier [Tue, 23 Jul 1996 02:23:54 +0000 (02:23 +0000)]
Finished merging in src/backend from Dr. George's source tree
Marc G. Fournier [Mon, 22 Jul 1996 23:30:57 +0000 (23:30 +0000)]
More of Dr. George's changes...
- src/backend/catalog/*
- no changes
- src/backend/executor/*
- change how nodeHash.c handles running out of memory
- src/backend/optimizer/*
- mostly cosmetic changes
Marc G. Fournier [Mon, 22 Jul 1996 23:00:26 +0000 (23:00 +0000)]
More merges from Dr. George's tree...
- src/backend/tcop/*
- cosmetic changes to OPENLINK patches
- src/backend/storage/*
- more changes, mostly cosmetic
- src/backend/ports/*
- merge in patches for aix and i386_solaris
Marc G. Fournier [Mon, 22 Jul 1996 21:58:28 +0000 (21:58 +0000)]
- merging in Dr. George's tree with ours
- src/backend/access
- no changes
- src/backend/utils
- mostly cosmetic changes
- ESCAPE_PATCH Added
- src/Makefile.global changes merged
Marc G. Fournier [Mon, 22 Jul 1996 08:37:00 +0000 (08:37 +0000)]
Brought in David Bennett's (dave@bensoft.com) changes to pg_dump
Marc G. Fournier [Mon, 22 Jul 1996 05:59:53 +0000 (05:59 +0000)]
Backed out the changes to monitor.c that seem to be affecting the
ability for createuser to actually create one...
Marc G. Fournier [Mon, 22 Jul 1996 05:13:32 +0000 (05:13 +0000)]
- added LD_ADD+=-ltermcap to postgres.mk.bsdi_2_1
- submitted by: Bruce Momjian (root@candle.pha.pa.us)
Marc G. Fournier [Mon, 22 Jul 1996 04:51:05 +0000 (04:51 +0000)]
quick fix to src/bin/Makefile.global so that compiling doesn't look for a
libpq that is already installed...
submitted by: Bruce Momjian (root@candle.pha.pa.us)
Marc G. Fournier [Sat, 20 Jul 1996 08:44:45 +0000 (08:44 +0000)]
Fix for:
>
> We did some testing and found that if we name the table 'Inv' with
> anything appended to it, the table does not appear in the '\d' table list.
> It appears to be the capital I as a table named 'invItemsL' is created
> and displayed properly.
>
- submitted by: Jason Wright <jason@shiloh.vnet.net>
Marc G. Fournier [Sat, 20 Jul 1996 08:36:33 +0000 (08:36 +0000)]
Brought in NEOSOFT's port to i386_solaris
Submitted by: Randy Kunkee <kunkee@Starbase.NeoSoft.COM>
Marc G. Fournier [Sat, 20 Jul 1996 08:19:13 +0000 (08:19 +0000)]
Fixes:
Hash indices for some data types don't work, for example for time and date.
- submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Sat, 20 Jul 1996 07:59:41 +0000 (07:59 +0000)]
Fixes:
The updating of array fields is broken in Postgres95-1.01, An array can
be only replaced with a new array but not have some elements modified.
This is caused by two bugs in the parser and in the array utilities.
Furthermore it is not possible to update array with a base type of
variable length.
- submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Sat, 20 Jul 1996 07:52:36 +0000 (07:52 +0000)]
- fix installation not installing man pages
- submitted by: drgeorge@ilt.com (Dr_George_D_Detlefsen)
Marc G. Fournier [Sat, 20 Jul 1996 07:40:03 +0000 (07:40 +0000)]
- extend conditional for use of -ltermcap in bsdi/bsdi_2_1 compiles
- submitted by: Bruce Momjian (root@candle.pha.pa.us)
Marc G. Fournier [Sat, 20 Jul 1996 07:33:36 +0000 (07:33 +0000)]
fixed a bug with not commenting out FSYNC= in initdb.sh
Marc G. Fournier [Fri, 19 Jul 1996 07:24:11 +0000 (07:24 +0000)]
Fixes:
I have written some patches which add support for NULLs to Postgres95.
In fact support for NULLs was already present in postgres, but it had been
disabled because not completely debugged, I believe. My patches simply add
some checks here and there. To enable the new code you must add -DNULL_PATCH
to CFLAGS in Makefile.global. After recompiling you can do things like:
insert into a (x, y) values (1, NULL);
update a set x = NULL where x = 0;
You can't still use a "where x=NULL" clause, you must use ISNULL instead.
This could probably be an easy fix to do.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Fri, 19 Jul 1996 07:19:56 +0000 (07:19 +0000)]
- improve date/time parsing routines
- submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Fri, 19 Jul 1996 07:14:14 +0000 (07:14 +0000)]
Fixes:
Select queries with an isnull or notnull clause, like "select * where
somefield isnull", crash the backend if the table has at least one index.
If the indices are deleted the queries work again. Also the explain
command fail in the same way.
The is caused by a bug in subroutine of the optimizer which doesn't check
null values in the clauses.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Fri, 19 Jul 1996 07:00:56 +0000 (07:00 +0000)]
- libpq calls "fe_getauthname()" two times in "fe-connect.c", but
doesn't free the buffer allocated by this function.
- submitted by: Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
Marc G. Fournier [Fri, 19 Jul 1996 06:53:40 +0000 (06:53 +0000)]
- added -ltermcap to LIBS in bin/psql/Makefile
- submitted by: Bruce Momjian (root@candle.pha.pa.us)
Marc G. Fournier [Fri, 19 Jul 1996 06:47:51 +0000 (06:47 +0000)]
Removed -I${HEADERFILE} from bin/Makefile.global
Marc G. Fournier [Fri, 19 Jul 1996 06:36:38 +0000 (06:36 +0000)]
Fix PAGER bug in createuser/etc scripts
submitted by: Bruce Momjian (root@candle.pha.pa.us)
Marc G. Fournier [Fri, 19 Jul 1996 06:27:59 +0000 (06:27 +0000)]
Fixes:
'select distinct on' causes backend to crash
submitted by: Chris Dunlop chris@onthe.net.au
Marc G. Fournier [Fri, 19 Jul 1996 06:13:58 +0000 (06:13 +0000)]
Fixes:
This is a patch to prevent an endless loop occuring in the Postgres backend
when a 'warning' error condition generates another warning error contition
in the handler code.
Submitted by: Chris Dunlop, <chris@onthe.net.au>
Marc G. Fournier [Fri, 19 Jul 1996 06:08:21 +0000 (06:08 +0000)]
fixes for textcat(), but headers were missing from archive :(
Marc G. Fournier [Fri, 19 Jul 1996 05:54:17 +0000 (05:54 +0000)]
Fixes compile errors with irix5 port
Submitted by: Thomas van Reimersdahl <reimersd@dali.techinfo.rwth-aachen.de>
Marc G. Fournier [Fri, 19 Jul 1996 05:32:42 +0000 (05:32 +0000)]
Fixes:
minor Makefile changes to force setting of SRCDIR and ordering of
include files
Submitted by: Bruce Momjian (root@candle.pha.pa.us)
Marc G. Fournier [Fri, 19 Jul 1996 05:21:28 +0000 (05:21 +0000)]
Fixes:
It is not possible to define attributes as arrays of date or time, the
type _time and _date are not defined.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Fri, 19 Jul 1996 05:12:40 +0000 (05:12 +0000)]
Fixes:
The type _char16 (array of char16) is incorrectly defined as array of name
and values longer than 16 chars are stored as names and not truncated to 16
bytes as they should be.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>