]> granicus.if.org Git - postgresql/log
postgresql
26 years agoCleanup getattr code. Make CHAR() use attcacheoff.
Bruce Momjian [Wed, 4 Feb 1998 21:32:12 +0000 (21:32 +0000)]
Cleanup getattr code.  Make CHAR() use attcacheoff.

26 years agoTry this fix for the tas.s code...
Marc G. Fournier [Wed, 4 Feb 1998 13:19:32 +0000 (13:19 +0000)]
Try this fix for the tas.s code...

26 years agoAllow most expressions in BETWEEN clause. Allow all expressions if
Thomas G. Lockhart [Wed, 4 Feb 1998 06:11:48 +0000 (06:11 +0000)]
Allow most expressions in BETWEEN clause. Allow all expressions if
 surrounded by parentheses (but not all are meaningful).
Remove unused keywords ACL, APPEND, MERGE.
Requires a "make clean" to recompile all code since keyword numeric
 assignments have changed with keyword removal.

26 years agoVacuum parameter fix.
Bruce Momjian [Tue, 3 Feb 1998 21:57:27 +0000 (21:57 +0000)]
Vacuum parameter fix.

26 years agoStrange, this should be required, but initialize need_tas to no
Marc G. Fournier [Tue, 3 Feb 1998 20:30:43 +0000 (20:30 +0000)]
Strange, this should be required, but initialize need_tas to no

26 years agoI tried to match up the if/test stuff...fixed now, I think
Marc G. Fournier [Tue, 3 Feb 1998 19:40:15 +0000 (19:40 +0000)]
I tried to match up the if/test stuff...fixed now, I think

26 years agoSubselects with =, >, etc.
Bruce Momjian [Tue, 3 Feb 1998 19:27:30 +0000 (19:27 +0000)]
Subselects with =, >, etc.

Cleanup for vacuum help, manual page, and error message

26 years agovarious i386_solaris cleanups that should fix sparc_solaris and hpux
Marc G. Fournier [Tue, 3 Feb 1998 18:06:37 +0000 (18:06 +0000)]
various i386_solaris cleanups that should fix sparc_solaris and hpux

26 years agoLearning a little more about autoconf each day...
Marc G. Fournier [Tue, 3 Feb 1998 16:58:46 +0000 (16:58 +0000)]
Learning a little more about autoconf each day...

Fix inclusion of 'tas.s' for various ports

26 years agoSupress call to tzset() in reset_timezone() if a new time zone has never
Thomas G. Lockhart [Tue, 3 Feb 1998 16:06:49 +0000 (16:06 +0000)]
Supress call to tzset() in reset_timezone() if a new time zone has never
 been set in the session.
General cleanup of timezone support code.

26 years agoRemove unused keyword CHANGE.
Thomas G. Lockhart [Tue, 3 Feb 1998 16:04:05 +0000 (16:04 +0000)]
Remove unused keyword CHANGE.

26 years agoDefine boolean functions and operators for lseg <, <=, <>, >=, >.
Thomas G. Lockhart [Tue, 3 Feb 1998 16:01:59 +0000 (16:01 +0000)]
Define boolean functions and operators for lseg <, <=, <>, >=, >.
Define functions and operators for closest point to lseg on box,
 to line on lseg, to lseg on lseg.
Define function and operator for length of lseg.
Change length operator from '??' to '@-@'
 (currently defined for path and lseg).

26 years agoDefine boolean functions for lseg <, <=, <>, >=, >
Thomas G. Lockhart [Tue, 3 Feb 1998 15:55:58 +0000 (15:55 +0000)]
Define boolean functions for lseg <, <=, <>, >=, >
Define close_ls(), close_lseg(), lseg_length().
Write real code for close_sb(), close_pb(), inter_sb(), inter_lb().
Repair lseg_perp() which determines if two lsegs are perpendicular.
Repair lseg_dt() distance between two lsegs.
Note: close_sl() is clearly broken  but will repair later
 (calculating point on lseg rather than point on line).

26 years agoUse proper symbol for hpux
Marc G. Fournier [Tue, 3 Feb 1998 12:42:52 +0000 (12:42 +0000)]
Use proper symbol for hpux

26 years agoJust another dummy file
Marc G. Fournier [Tue, 3 Feb 1998 12:41:24 +0000 (12:41 +0000)]
Just another dummy file

26 years agoFix for various aix related 'mis-defines'
Marc G. Fournier [Tue, 3 Feb 1998 02:09:08 +0000 (02:09 +0000)]
Fix for various aix related 'mis-defines'

From: Darren King <darrenk@insightdist.com>

26 years agoFix for missing tas.s under sparc_solaris
Marc G. Fournier [Tue, 3 Feb 1998 02:07:15 +0000 (02:07 +0000)]
Fix for missing tas.s under sparc_solaris

Reported by:  Shiby Thomas <sthomas@cise.ufl.edu>

26 years agoParser cleanup for expr and subqueries.
Bruce Momjian [Tue, 3 Feb 1998 01:53:24 +0000 (01:53 +0000)]
Parser cleanup for expr and subqueries.

26 years agoClean up the alpha port, remove the backend/port/alpha subdirectory
Marc G. Fournier [Tue, 3 Feb 1998 01:25:47 +0000 (01:25 +0000)]
Clean up the alpha port, remove the backend/port/alpha subdirectory
structure, and move the init_address_fixup() code directly into
backend/main/main.c with appropriate #ifdefs around it...

26 years agoFixes for linux-elf-sparc related template file
Marc G. Fournier [Tue, 3 Feb 1998 01:00:50 +0000 (01:00 +0000)]
Fixes for linux-elf-sparc related template file

From: "Thomas A. Szybist" <szybist@boxhill.com>

26 years agoFrom: teunis <teunis@mauve.computersupportcentre.com>
Marc G. Fournier [Tue, 3 Feb 1998 00:57:42 +0000 (00:57 +0000)]
From: teunis <teunis@mauve.computersupportcentre.com>

Slight cleanups for glibc2.0

26 years agoMake sure Irix/Linux FAQs are updated
Marc G. Fournier [Mon, 2 Feb 1998 15:54:15 +0000 (15:54 +0000)]
Make sure Irix/Linux FAQs are updated

26 years agoAdd an irix5.c dummy file for irix5 port
Marc G. Fournier [Mon, 2 Feb 1998 15:24:47 +0000 (15:24 +0000)]
Add an irix5.c dummy file for irix5 port

26 years agoFrom: Peter T Mount <patches@maidast.demon.co.uk>
Marc G. Fournier [Mon, 2 Feb 1998 13:17:01 +0000 (13:17 +0000)]
From: Peter T Mount <patches@maidast.demon.co.uk>

[This is a repost - it supercedes the previous one. It fixes the patch so
it doesn't bread aix port, plus there's a file missing out of the
original post because difforig doesn't pick up new files. It's now
attached. peter]

This patch brings the JDBC driver up to the current protocol spec.
Basically, the backend now tells the driver what authentication scheme to
use.

The patch also fixes a performance problem with large objects. In the
buffer manager, each fastpath call was sending multiple Notifications to
the backend (sometimes more data in the form of notifications were being
sent than blob data!).

26 years agoFix up the alpha port/dynloader for configure
Marc G. Fournier [Mon, 2 Feb 1998 03:49:11 +0000 (03:49 +0000)]
Fix up the alpha port/dynloader for configure

26 years agoFix for ltoa() problem pointed out by Stan Brown <stanb@awod.com>
Marc G. Fournier [Mon, 2 Feb 1998 03:11:37 +0000 (03:11 +0000)]
Fix for ltoa() problem pointed out by Stan Brown <stanb@awod.com>

26 years agoset "caller" value in parse_func.h to func_get_detail instead of just ""
Marc G. Fournier [Mon, 2 Feb 1998 02:12:34 +0000 (02:12 +0000)]
set "caller" value in parse_func.h to func_get_detail instead of just ""

26 years agoCurrent output for FreeBSD (2/1/98)
Marc G. Fournier [Mon, 2 Feb 1998 01:48:25 +0000 (01:48 +0000)]
Current output for FreeBSD (2/1/98)

26 years agoNo datedebug printing of date debug is not defined.
Bruce Momjian [Mon, 2 Feb 1998 01:28:12 +0000 (01:28 +0000)]
No datedebug printing of date debug is not defined.

26 years agoTODO cleanup
Bruce Momjian [Mon, 2 Feb 1998 01:20:04 +0000 (01:20 +0000)]
TODO cleanup

26 years agoInstall migration file and IP contrib/ stuff.
Bruce Momjian [Mon, 2 Feb 1998 00:41:55 +0000 (00:41 +0000)]
Install migration file and IP contrib/ stuff.

26 years agoFix HP/ux port for tas.s
Marc G. Fournier [Mon, 2 Feb 1998 00:13:41 +0000 (00:13 +0000)]
Fix HP/ux port for tas.s

26 years agoFixes:
Marc G. Fournier [Mon, 2 Feb 1998 00:10:10 +0000 (00:10 +0000)]
Fixes:

        dynloader.c:25: port-protos.h: No such file or directory

In HPUX port

26 years ago#if aix changed to #if HAVE_SYS_SELECT_H
Marc G. Fournier [Mon, 2 Feb 1998 00:05:03 +0000 (00:05 +0000)]
#if aix changed to #if HAVE_SYS_SELECT_H

26 years agoMove all the isinf() stuff from float.c to isinf.c, and build it according to
Marc G. Fournier [Mon, 2 Feb 1998 00:04:08 +0000 (00:04 +0000)]
Move all the isinf() stuff from float.c to isinf.c, and build it according to
configure vs port specific #ifdef's...

26 years agoFix for psort. fixes regression tests.
Bruce Momjian [Sun, 1 Feb 1998 22:20:47 +0000 (22:20 +0000)]
Fix for psort. fixes regression tests.

26 years agoUpgrade doc stuff to 6.3.
Bruce Momjian [Sun, 1 Feb 1998 21:20:26 +0000 (21:20 +0000)]
Upgrade doc stuff to 6.3.

26 years agoAIX patch from Darren King and Univel patch from Billy Allie, mostly
Bruce Momjian [Sun, 1 Feb 1998 19:43:54 +0000 (19:43 +0000)]
AIX patch from Darren King and Univel patch from Billy Allie, mostly
related to grammar and parser issues, with one postmaster fix.

26 years agominor change so that it outputs to regression.diffs ...
Marc G. Fournier [Sun, 1 Feb 1998 11:46:10 +0000 (11:46 +0000)]
minor change so that it outputs to regression.diffs ...

26 years agoMake changes so that when the diff is done between 'expected' and 'results',
Marc G. Fournier [Sun, 1 Feb 1998 11:43:17 +0000 (11:43 +0000)]
Make changes so that when the diff is done between 'expected' and 'results',
if an operating specific expected file exists, use that for the comparison.
This allows for "legit" differences between results, like the "Result too
large" message vs "Math result not representable" ...

Also, have the failed diffs get output to regression.diffs so that its easy to
view those tests that failed

26 years agoMissed adding new univel files and removing univel subdirectory
Marc G. Fournier [Sun, 1 Feb 1998 07:46:43 +0000 (07:46 +0000)]
Missed adding new univel files and removing univel subdirectory

26 years agoFrom: "Billy G. Allie" <Bill.Allie@mug.org>
Marc G. Fournier [Sun, 1 Feb 1998 07:44:00 +0000 (07:44 +0000)]
From: "Billy G. Allie" <Bill.Allie@mug.org>

The following patches will bring the UNIVEL port in line with the new porting
model used in postgreSQL 6.3

26 years agoReduce size of inlining.
Bruce Momjian [Sun, 1 Feb 1998 05:38:40 +0000 (05:38 +0000)]
Reduce size of inlining.

26 years ago1. "#ifdef 0" is bad C. ifdef is for checking a macro and 0 is
Marc G. Fournier [Sun, 1 Feb 1998 00:02:59 +0000 (00:02 +0000)]
1.  "#ifdef 0" is bad C.  ifdef is for checking a macro and 0 is
an illegal macro name.  Correct syntax is "#if 0".  This is in...

From: Darren King <darrenk@insightdist.com>

26 years agoFrom: Phil Thompson <phil@river-bank.demon.co.uk>
Marc G. Fournier [Sat, 31 Jan 1998 21:27:28 +0000 (21:27 +0000)]
From: Phil Thompson <phil@river-bank.demon.co.uk>

I haven't had final confirmation from Peter yet, but the attached patch
needs to be applied for the Beta otherwise password and crypt
authentication just won't work.

It puts back the loop in libpq and also fixes a couple of problems with
maintaining compatability with pre-6.3 drivers.

26 years agoFrom: Phil Thompson <phil@river-bank.demon.co.uk>
Marc G. Fournier [Sat, 31 Jan 1998 20:14:15 +0000 (20:14 +0000)]
From: Phil Thompson <phil@river-bank.demon.co.uk>

I haven't had final confirmation from Peter yet, but the attached patch
needs to be applied for the Beta otherwise password and crypt
authentication just won't work.

It puts back the loop in libpq and also fixes a couple of problems with
maintaining compatability with pre-6.3 drivers.

26 years agofmgr_faddr cleanup
Bruce Momjian [Sat, 31 Jan 1998 05:54:57 +0000 (05:54 +0000)]
fmgr_faddr cleanup

26 years agofmgr_faddr cleanup
Bruce Momjian [Sat, 31 Jan 1998 05:31:03 +0000 (05:31 +0000)]
fmgr_faddr cleanup

26 years agoInline fmgr_faddr() for speed.
Bruce Momjian [Sat, 31 Jan 1998 05:22:43 +0000 (05:22 +0000)]
Inline fmgr_faddr() for speed.

26 years agoInline fastgetattr and others so data access does not use function
Bruce Momjian [Sat, 31 Jan 1998 04:39:26 +0000 (04:39 +0000)]
Inline fastgetattr and others so data access does not use function
calls.

26 years agoFrom: PostgreSQL DataBase <postgres@scuba.pcpipeline.com>
Marc G. Fournier [Fri, 30 Jan 1998 15:03:35 +0000 (15:03 +0000)]
From: PostgreSQL DataBase <postgres@scuba.pcpipeline.com>

This again fixes the problem
with the default permissions for PUBLIC and the preventing of
statements like "GRANT null on test to test_user;".

26 years agodon't forget to 'template' i386_solaris
Marc G. Fournier [Thu, 29 Jan 1998 17:16:02 +0000 (17:16 +0000)]
don't forget to 'template' i386_solaris

26 years agoFrom: Phil Thompson <phil@river-bank.demon.co.uk>
Marc G. Fournier [Thu, 29 Jan 1998 03:24:36 +0000 (03:24 +0000)]
From: Phil Thompson <phil@river-bank.demon.co.uk>

Attached is the patch to fix the warning messages from my code.  I also
fixed one which wasn't my code.  Apart from the usual warnings about the
bison/yacc generated code I only have one other warning message.  This
is in gramm.y around line 2234.  I wasn't sure of the fix.

I've also replaced all the calls to free() in gramm.y to calls to
pfree().  Without these I was getting backend crashes with GRANT.  This
might already have been fixed.

26 years agoFrom: "Pedro J. Lobo" <pjlobo@euitt.upm.es>
Marc G. Fournier [Thu, 29 Jan 1998 02:26:47 +0000 (02:26 +0000)]
From: "Pedro J. Lobo" <pjlobo@euitt.upm.es>

I've patched pg_dump.c and createdb to add support for password
authentication, using the '-u' switch as in psql. I have updated also the
man pages.

26 years agopsql \df cleanup and lock manual page cleanup.
Bruce Momjian [Wed, 28 Jan 1998 20:44:42 +0000 (20:44 +0000)]
psql \df cleanup and lock manual page cleanup.

26 years agoSomeone wants to try a Cynus port....
Marc G. Fournier [Wed, 28 Jan 1998 12:45:44 +0000 (12:45 +0000)]
Someone wants to try a Cynus port....

26 years agoLock cleanup
Bruce Momjian [Wed, 28 Jan 1998 06:52:58 +0000 (06:52 +0000)]
Lock  cleanup

26 years agoFrom: Peter T Mount <patches@maidast.demon.co.uk>
Marc G. Fournier [Wed, 28 Jan 1998 03:42:27 +0000 (03:42 +0000)]
From: Peter T Mount <patches@maidast.demon.co.uk>

This has a problem when using any authentication other than trust or
ident.

Anything using libpq will hang, because the client will go into a loop
while connecting. The following patch simply comments out two lines (a do
and a while), removing the loop. Going through the new scheme, I can't see
why this do..while loop is in there.

26 years agoMore deadlock code to check for escallation locks.
Bruce Momjian [Wed, 28 Jan 1998 02:29:40 +0000 (02:29 +0000)]
More deadlock code to check for escallation locks.

offsetof() addition to local socket size.

26 years agodummyret cleanup
Bruce Momjian [Tue, 27 Jan 1998 15:57:41 +0000 (15:57 +0000)]
dummyret cleanup

26 years agoReversed out group by patch.
Bruce Momjian [Tue, 27 Jan 1998 15:41:32 +0000 (15:41 +0000)]
Reversed out group by patch.

26 years agoDeadlock ceallnup.
Bruce Momjian [Tue, 27 Jan 1998 15:35:30 +0000 (15:35 +0000)]
Deadlock ceallnup.

(void) change for aix and hp compilers.

protocol cleanup.

26 years agoThis should fix Stan's USE_POSIX_SIGNALS problem as well
Marc G. Fournier [Tue, 27 Jan 1998 05:04:35 +0000 (05:04 +0000)]
This should fix Stan's USE_POSIX_SIGNALS problem as well

26 years agoFrom what I can tell, -DNOFIXADE does absolutely nothing under HP/ux
Marc G. Fournier [Tue, 27 Jan 1998 05:03:15 +0000 (05:03 +0000)]
From what I can tell, -DNOFIXADE does absolutely nothing under HP/ux

26 years agoadd CC:cc so that configure uses cc on non-gcc machine
Marc G. Fournier [Tue, 27 Jan 1998 05:02:11 +0000 (05:02 +0000)]
add CC:cc so that configure uses cc on non-gcc machine

From: Stan Brown <stanb@awod.com>

26 years agoFix local domain structure size computation.
Bruce Momjian [Tue, 27 Jan 1998 04:08:28 +0000 (04:08 +0000)]
Fix local domain structure size computation.

26 years agoFrom: Phil Thompson <phil@river-bank.demon.co.uk>
Marc G. Fournier [Tue, 27 Jan 1998 03:25:14 +0000 (03:25 +0000)]
From: Phil Thompson <phil@river-bank.demon.co.uk>

Cleanup patches for previous protocol changes patch

26 years agoProtocol cleanup from Phil.
Bruce Momjian [Tue, 27 Jan 1998 03:11:46 +0000 (03:11 +0000)]
Protocol cleanup from Phil.

26 years agoReal deadlock detection.
Bruce Momjian [Tue, 27 Jan 1998 03:00:43 +0000 (03:00 +0000)]
Real deadlock detection.

26 years agoTry this to fix HP/UX port compile
Marc G. Fournier [Mon, 26 Jan 1998 02:48:36 +0000 (02:48 +0000)]
Try this to fix HP/UX port compile

26 years ago#include <sys/types.h> required for u_long in <netinet/in.h>
Marc G. Fournier [Mon, 26 Jan 1998 01:55:05 +0000 (01:55 +0000)]
#include <sys/types.h> required for u_long in <netinet/in.h>

26 years ago#include <sys/types.h> required for u_long
Marc G. Fournier [Mon, 26 Jan 1998 01:49:19 +0000 (01:49 +0000)]
#include <sys/types.h> required for u_long

26 years agoFrom: Phil Thompson <phil@river-bank.demon.co.uk>
Marc G. Fournier [Mon, 26 Jan 1998 01:42:53 +0000 (01:42 +0000)]
From: Phil Thompson <phil@river-bank.demon.co.uk>

I've completed the patch to fix the protocol and authentication issues I
was discussing a couple of weeks ago.  The particular changes are:

- the protocol has a version number
- network byte order is used throughout
- the pg_hba.conf file is used to specify what method is used to
  authenticate a frontend (either password, ident, trust, reject, krb4
  or krb5)
- support for multiplexed backends is removed
- appropriate changes to man pages
- the -a switch to many programs to specify an authentication service
  no longer has any effect
- the libpq.so version number has changed to 1.1

The new backend still supports the old protocol so old interfaces won't
break.

26 years agocash_words_out fix
Bruce Momjian [Mon, 26 Jan 1998 01:01:37 +0000 (01:01 +0000)]
cash_words_out fix

26 years agoFrom: Darren King <darrenk@insightdist.com>
Marc G. Fournier [Mon, 26 Jan 1998 00:21:02 +0000 (00:21 +0000)]
From: Darren King <darrenk@insightdist.com>

I have always been under the impression that NULL is not equal to
NULL and that NULL is not equal to anything else either.  If this
is the case, then this patch is correct.

If NULL _is_ equal to NULL, then I think there are other problems
in the Group By logic.

26 years agoAdd cash_words_out and fix \df width.
Bruce Momjian [Sun, 25 Jan 1998 20:23:40 +0000 (20:23 +0000)]
Add cash_words_out and fix \df width.

26 years agoFrom: todd brandys <brandys@eng3.hep.uiuc.edu>
Marc G. Fournier [Sun, 25 Jan 1998 07:42:02 +0000 (07:42 +0000)]
From: todd brandys <brandys@eng3.hep.uiuc.edu>

  o  The manual (really text) pages for create/alter/drop user.

26 years agoFrom: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
Marc G. Fournier [Sun, 25 Jan 1998 07:11:07 +0000 (07:11 +0000)]
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>

PostgreSQL type extensions for IP and MAC addresses.

I needed to record IP and MAC level ethernet addresses in a data
base, and I really didn't want to store them as plain strings, with
no enforced error checking, so I put together the accompanying code
as my first experiment with adding a data type to PostgreSQL.  I
then thought that this might be useful to others, both directly and
as a very simple example of how to do this sort of thing, so here
it is, in the hope that it will be useful.

26 years agothis is to help someone that wants an AUX port get started...
Marc G. Fournier [Sun, 25 Jan 1998 07:08:31 +0000 (07:08 +0000)]
this is to help someone that wants an AUX port get started...

26 years agoPatch to document the /etc/psqlrc / ~/.psqlrc config files
Marc G. Fournier [Sun, 25 Jan 1998 06:12:52 +0000 (06:12 +0000)]
Patch to document the /etc/psqlrc / ~/.psqlrc config files

From: <Dr. Andrew C.R. Martin> martin@biochem.ucl.ac.uk

26 years agoMerge in D'Arcy Cain's python interface (PyGreSQL 2.0)
Marc G. Fournier [Sun, 25 Jan 1998 06:09:40 +0000 (06:09 +0000)]
Merge in D'Arcy Cain's python interface (PyGreSQL 2.0)

26 years agoFrom: Keith Parks <emkxp01@mtcc.demon.co.uk>
Marc G. Fournier [Sun, 25 Jan 1998 05:23:59 +0000 (05:23 +0000)]
From: Keith Parks <emkxp01@mtcc.demon.co.uk>

Small patch for sparc solaris/tas()

26 years agoFrom: Jeroen van Vianen <jeroenv@design.nl>
Marc G. Fournier [Sun, 25 Jan 1998 05:18:34 +0000 (05:18 +0000)]
From: Jeroen van Vianen <jeroenv@design.nl>

This patch solves the problem with multiple order by columns, with the
first one having NULL values.

26 years agogetpid/pid cleanup
Bruce Momjian [Sun, 25 Jan 1998 05:15:15 +0000 (05:15 +0000)]
getpid/pid cleanup

26 years agoSomehow the 'comment' here got messed up
Marc G. Fournier [Sun, 25 Jan 1998 05:04:21 +0000 (05:04 +0000)]
Somehow the 'comment' here got messed up

26 years agoFrom: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
Marc G. Fournier [Sun, 25 Jan 1998 04:14:36 +0000 (04:14 +0000)]
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>

Hi -- a couple of small items concerning the January 23rd snapshot:
the inclusion of the Kerberos stuff in one Makefile, a "leading tab"
cleanup in another, and a fix for a typo in the configure script.

26 years agoWish ppl would make up their mnd :)
Marc G. Fournier [Sun, 25 Jan 1998 04:12:28 +0000 (04:12 +0000)]
Wish ppl would make up their mnd :)

26 years agoOOps...missed the second patch of patch two that uses pfree() instead of
Marc G. Fournier [Sun, 25 Jan 1998 04:10:32 +0000 (04:10 +0000)]
OOps...missed the second patch of patch two that uses pfree() instead of
free()

From: James Hughes <jamesh@interpath.com>

26 years agoThis is the second of two patches required to fix the the grant and
Marc G. Fournier [Sun, 25 Jan 1998 04:08:54 +0000 (04:08 +0000)]
This is the second of two patches required to fix the the grant and
revoke statements.

From: James Hughes <jamesh@interpath.com>

26 years agoPatch against src/backend/nodes/outfuncs.c.orig fixes backend crashes
Marc G. Fournier [Sun, 25 Jan 1998 04:07:52 +0000 (04:07 +0000)]
Patch against src/backend/nodes/outfuncs.c.orig fixes backend crashes
when creating unique indexes.

From: James Hughes <jamesh@interpath.com>

26 years agoThis patch fixes one of two problems with grant/revoke statements on the
Marc G. Fournier [Sun, 25 Jan 1998 04:07:00 +0000 (04:07 +0000)]
This patch fixes one of two problems with grant/revoke statements on the
Linux platform.

From: James Hughes <jamesh@interpath.com>

26 years agoFix prototypes so they don't look like function definitions.
Bruce Momjian [Sat, 24 Jan 1998 22:50:57 +0000 (22:50 +0000)]
Fix prototypes so they don't look like function definitions.

26 years agoMore up to date scan.c
Marc G. Fournier [Sat, 24 Jan 1998 19:40:56 +0000 (19:40 +0000)]
More up to date scan.c

26 years agoFix a variety of locking problems like newer lock waiters getting
Bruce Momjian [Fri, 23 Jan 1998 22:16:48 +0000 (22:16 +0000)]
Fix a variety of locking problems like newer lock waiters getting
lock before older waiters, and having readlock people not share
locks if a writer is waiting for a lock, and waiting writers not
getting priority over waiting readers.

26 years agoLOCK_LEVEL is defined in an i386_solaris system file, causing the compile
Marc G. Fournier [Fri, 23 Jan 1998 19:53:44 +0000 (19:53 +0000)]
LOCK_LEVEL is defined in an i386_solaris system file, causing the compile
to break.  renaming to PG_LOCK_LEVEL

26 years agoFrom: James Hughes <jamesh@interpath.com>
Marc G. Fournier [Fri, 23 Jan 1998 19:22:24 +0000 (19:22 +0000)]
From: James Hughes <jamesh@interpath.com>

This is a patch to fix crashes in psql when executing queries from
an external file. The code also adds error checking to verify that
memory for "query" was allocated. The conditional for the block of
code was changed from "query == NULL" to "query_alloced == false".

The conditional, "query == NULL", was never true. This prevented
the memory being allocated for "query". A few lines later, an attempt
to write to an un-allocated memory area generated a SIGSEGV causing
the frontend to crash.

26 years agoFrom: Andrew Martin <martin@biochemistry.ucl.ac.uk>
Marc G. Fournier [Fri, 23 Jan 1998 19:21:11 +0000 (19:21 +0000)]
From: Andrew Martin <martin@biochemistry.ucl.ac.uk>

psql .psqlrc file startup(Andrew)

26 years agoMinor cleanups for i386_solaris port
Marc G. Fournier [Fri, 23 Jan 1998 19:13:22 +0000 (19:13 +0000)]
Minor cleanups for i386_solaris port

26 years agoA dummy file so that configure under solaris works
Marc G. Fournier [Fri, 23 Jan 1998 18:58:00 +0000 (18:58 +0000)]
A dummy file so that configure under solaris works

26 years agoCleanup deadlock message.
Bruce Momjian [Fri, 23 Jan 1998 06:01:36 +0000 (06:01 +0000)]
Cleanup deadlock message.