Commit Graph

58284 Commits

Author SHA1 Message Date
Marc G. Fournier b7559f94cd This change should have no practical effect but it is the more
correct way to do this.  Theoretically you could have a NULL
pointer that isn't represented internally as all 0 bits.  This
guarantees that it convert correctly.

Submitted by: darcy@druid.com (D'Arcy J.M. Cain)
1996-10-11 03:25:00 +00:00
Marc G. Fournier 2663dfd94e I have written some patches to the postgres lock manager which allow the
use of long term cooperative locks managed by the user applications.

Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-10-11 03:22:59 +00:00
Marc G. Fournier 97906ac697 Reinstituted NAMEDATALEN OIDNAMELEN in Makefile.global so that initdb
works again...
1996-10-11 02:38:16 +00:00
Bryan Henderson 329b38eebb Add PGUSER environment variable for client to specify Postgres username. 1996-10-10 08:20:11 +00:00
Bruce Momjian ca5f6dba0f Comment cleanup. 1996-10-10 00:18:52 +00:00
Bruce Momjian 9b1e61b7e9 Changed psql \h command to print commands in three columns.
No more scrolling off the screen.
1996-10-09 00:15:44 +00:00
Bruce Momjian c306d06cf9 Change sh-style comments to C comments. 1996-10-08 22:23:19 +00:00
Bruce Momjian dd09982f3e Add execute permission. 1996-10-08 04:09:50 +00:00
Bruce Momjian dcef39f03b Add execute permits. 1996-10-08 04:04:38 +00:00
Bruce Momjian 5fb8eaa592 Add execute permission. 1996-10-08 03:53:10 +00:00
Marc G. Fournier d6dfbecb07 Moved the following definitions to include/config.h from Makefile.global:
NAMEDATALEN
	OIDDATALEN
	EUROPEAN_DATES
	HBA
	DEADLOCK_TIMEOUT
	OPENLINK_PATCHES
	NULL_PATCH
	ARRAY_PATCH

Attempting to document and centralize as many of the "defines" as possible...
kinda useless to have defines if nobody knows they exist, eh?
1996-10-08 00:09:05 +00:00
Marc G. Fournier 87bb8daab8 Move the NAMEDATALEN/OIDNAMELEN defines to include/config.h 1996-10-07 23:57:01 +00:00
Marc G. Fournier 6470d5b1c1 Fix handling of no '../doc' directory in compile procedure... 1996-10-07 23:53:47 +00:00
Marc G. Fournier 4e8f5c337c Well I haven't received any feedback pro or con re my suggested new Tcl
function so I am going to assume that it is such a good idea that no
one sees any point in discussing it.  :-)  I have made two changes -
I have merged this into pgtclCmds.c and I have taken out any code for
updating tuples after the loop body runs.  See comments for discussion
of this.

I have also fixed up the error checking stuff so that break, continue
and syntax errors have the expected result.

Submitted by: D'Arcy Cain
1996-10-07 21:19:09 +00:00
Marc G. Fournier ea733aa997 Fix a couple of small things from D'Arcy's last patch
Submitted by: D'Arcy Cain
1996-10-07 21:17:01 +00:00
Bruce Momjian a409f40ea8 Modified Assert to be more selective. 1996-10-07 19:53:15 +00:00
Marc G. Fournier 3dc0c8e4e5 Fixed a missed change from Carsten Heyl <heyl@nads.de> 1996-10-07 07:18:34 +00:00
Marc G. Fournier de466eb8f4 Mostly adding "const" keyword and making some functions static.
Submitted by: D'Arcy Cain
1996-10-07 03:30:40 +00:00
Bruce Momjian 257b4d090c Change new assert so it generates assert message rather than SIGSEG. 1996-10-07 02:50:19 +00:00
Bruce Momjian 9d9eadea82 add FROM to update page, clean up spelling error in select. 1996-10-07 02:34:54 +00:00
Bruce Momjian f6792efcc7 Remove sytax errors from file. 1996-10-07 02:33:25 +00:00
Bruce Momjian 3a56b21832 Update help for alter table. remove EXTEND function. 1996-10-07 02:32:39 +00:00
Bruce Momjian e8e78f4c7b Fix typo in help text. 1996-10-05 21:34:33 +00:00
Bruce Momjian 3a0bace14f Renamed file. 1996-10-05 21:16:34 +00:00
Marc G. Fournier 50e708ef88 Stylistic cleanups... 1996-10-05 20:39:05 +00:00
Bruce Momjian 8999ce097f Add comment about possible zero value. 1996-10-05 20:33:45 +00:00
Bruce Momjian efac791640 Change shell-style comments to C-style. 1996-10-05 20:33:10 +00:00
Bruce Momjian 47279960a0 Fix assert to allow zero. OK'ed by Bryan. 1996-10-05 20:31:38 +00:00
Bruce Momjian a433f22c24 Fix args to match prototype. 1996-10-05 20:30:31 +00:00
Bruce Momjian f29e02017a Replace double // with /. THis confuses mkid. 1996-10-05 20:29:57 +00:00
Bruce Momjian a974522f5f Added single-letter options and case statement. 1996-10-05 03:24:47 +00:00
Bruce Momjian 2d456c473d Improved creation of mkid files. 1996-10-05 03:23:49 +00:00
Marc G. Fournier 4feb696be7 Here the fix for the first assertion failure I had which killed
my postmaster 1.07.
It's really simple, the loop dealing with all sockets
can't handle more than one ready socket :-)
A simple logic error dealing with lists.
OR IS THERE ANY REASON FOR SETTING curr TO 0?

Submitted by:  Carsten Heyl <Heyl@nads.de>
1996-10-04 20:32:07 +00:00
Marc G. Fournier 002be14c45 And bring in change from 1.0.7 tree to here... 1996-10-04 20:29:35 +00:00
Marc G. Fournier ff25e44d03 Moved the define of SIGNAL_ARGS that D'Arcy just created to config.h so that
hopefully this sort of thing can eventually be determined using configure?
1996-10-04 20:20:57 +00:00
Marc G. Fournier f8009e1786 The remainder of D'Arcy's changes, most notibly the usage of SIGNAL_ARGS 1996-10-04 20:17:11 +00:00
Marc G. Fournier 312b4dabfe This patch corrects some errors in sample commands in the INSTALL file.
Submitted by:  bryanh@giraffe.netgate.net (Bryan Henderson)
1996-10-04 20:08:29 +00:00
Marc G. Fournier 27bccb9db3 This patch fixes problems in initdb, including that it doesn't run
with some versions of sh, and a bug in the master make file that
causes it to issue the message "postgres has been built" at the wrong
time.

Submitted by: bryanh@giraffe.netgate.net (Bryan Henderson)
1996-10-04 20:07:10 +00:00
Bruce Momjian 22749a1d72 Moved files. 1996-10-04 15:23:00 +00:00
Bruce Momjian 9e9206e0df new TODO. 1996-10-04 15:15:24 +00:00
Bruce Momjian 15537c9d45 Added purge(l) mention in manual page. 1996-10-04 14:50:18 +00:00
Bruce Momjian 57fd9a5c4e Removed -S from example and added nohup to log file. 1996-10-03 23:34:36 +00:00
Marc G. Fournier c61d606a15 Added dlfcn.h to dl.c in BSD44_derived port 1996-10-03 22:41:42 +00:00
Bruce Momjian aefb294e13 Added restriction to tables vacuum'able.
Added NOTICE messages for bad table names.
1996-10-03 20:11:41 +00:00
Bruce Momjian 487e91484d Added chown to Makefile to set files to Postgres user.
Does not display and generates no error messages on failure.
1996-10-03 20:09:48 +00:00
Bruce Momjian 25ffb8965f MOved them. 1996-10-03 17:27:48 +00:00
Bruce Momjian f5316239b8 Moved them. 1996-10-03 17:27:01 +00:00
Bruce Momjian 97c904610d New FAQ. 1996-10-03 17:15:56 +00:00
Bruce Momjian 2e9010cd8a Renamed createdb.l to create_database.l.
Changed portal to cursor.
1996-10-03 15:50:10 +00:00
Bruce Momjian 4bec96f16f Brought psql help up to date with syntax and manual. 1996-10-03 15:46:31 +00:00