OSDN Git Service
Bruce Momjian [Wed, 9 Oct 1996 00:15:44 +0000 (00:15 +0000)]
Changed psql \h command to print commands in three columns.
No more scrolling off the screen.
Bruce Momjian [Tue, 8 Oct 1996 22:23:19 +0000 (22:23 +0000)]
Change sh-style comments to C comments.
Bruce Momjian [Tue, 8 Oct 1996 04:09:50 +0000 (04:09 +0000)]
Add execute permission.
Bruce Momjian [Tue, 8 Oct 1996 04:04:38 +0000 (04:04 +0000)]
Add execute permits.
Bruce Momjian [Tue, 8 Oct 1996 03:53:10 +0000 (03:53 +0000)]
Add execute permission.
Marc G. Fournier [Tue, 8 Oct 1996 00:09:05 +0000 (00:09 +0000)]
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?
Marc G. Fournier [Mon, 7 Oct 1996 23:57:01 +0000 (23:57 +0000)]
Move the NAMEDATALEN/OIDNAMELEN defines to include/config.h
Marc G. Fournier [Mon, 7 Oct 1996 23:53:47 +0000 (23:53 +0000)]
Fix handling of no '../doc' directory in compile procedure...
Marc G. Fournier [Mon, 7 Oct 1996 21:19:09 +0000 (21:19 +0000)]
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
Marc G. Fournier [Mon, 7 Oct 1996 21:17:01 +0000 (21:17 +0000)]
Fix a couple of small things from D'Arcy's last patch
Submitted by: D'Arcy Cain
Bruce Momjian [Mon, 7 Oct 1996 19:53:15 +0000 (19:53 +0000)]
Modified Assert to be more selective.
Marc G. Fournier [Mon, 7 Oct 1996 07:18:34 +0000 (07:18 +0000)]
Fixed a missed change from Carsten Heyl <heyl@nads.de>
Marc G. Fournier [Mon, 7 Oct 1996 03:30:40 +0000 (03:30 +0000)]
Mostly adding "const" keyword and making some functions static.
Submitted by: D'Arcy Cain
Bruce Momjian [Mon, 7 Oct 1996 02:50:19 +0000 (02:50 +0000)]
Change new assert so it generates assert message rather than SIGSEG.
Bruce Momjian [Mon, 7 Oct 1996 02:34:54 +0000 (02:34 +0000)]
add FROM to update page, clean up spelling error in select.
Bruce Momjian [Mon, 7 Oct 1996 02:33:25 +0000 (02:33 +0000)]
Remove sytax errors from file.
Bruce Momjian [Mon, 7 Oct 1996 02:32:39 +0000 (02:32 +0000)]
Update help for alter table. remove EXTEND function.
Bruce Momjian [Sat, 5 Oct 1996 21:34:33 +0000 (21:34 +0000)]
Fix typo in help text.
Bruce Momjian [Sat, 5 Oct 1996 21:16:34 +0000 (21:16 +0000)]
Renamed file.
Marc G. Fournier [Sat, 5 Oct 1996 20:39:05 +0000 (20:39 +0000)]
Stylistic cleanups...
Bruce Momjian [Sat, 5 Oct 1996 20:33:45 +0000 (20:33 +0000)]
Add comment about possible zero value.
Bruce Momjian [Sat, 5 Oct 1996 20:33:10 +0000 (20:33 +0000)]
Change shell-style comments to C-style.
Bruce Momjian [Sat, 5 Oct 1996 20:31:38 +0000 (20:31 +0000)]
Fix assert to allow zero. OK'ed by Bryan.
Bruce Momjian [Sat, 5 Oct 1996 20:30:31 +0000 (20:30 +0000)]
Fix args to match prototype.
Bruce Momjian [Sat, 5 Oct 1996 20:29:57 +0000 (20:29 +0000)]
Replace double // with /. THis confuses mkid.
Bruce Momjian [Sat, 5 Oct 1996 03:24:47 +0000 (03:24 +0000)]
Added single-letter options and case statement.
Bruce Momjian [Sat, 5 Oct 1996 03:23:49 +0000 (03:23 +0000)]
Improved creation of mkid files.
Marc G. Fournier [Fri, 4 Oct 1996 20:32:07 +0000 (20:32 +0000)]
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>
Marc G. Fournier [Fri, 4 Oct 1996 20:29:35 +0000 (20:29 +0000)]
And bring in change from 1.0.7 tree to here...
Marc G. Fournier [Fri, 4 Oct 1996 20:20:57 +0000 (20:20 +0000)]
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?
Marc G. Fournier [Fri, 4 Oct 1996 20:17:11 +0000 (20:17 +0000)]
The remainder of D'Arcy's changes, most notibly the usage of SIGNAL_ARGS
Marc G. Fournier [Fri, 4 Oct 1996 20:08:29 +0000 (20:08 +0000)]
This patch corrects some errors in sample commands in the INSTALL file.
Submitted by: bryanh@giraffe.netgate.net (Bryan Henderson)
Marc G. Fournier [Fri, 4 Oct 1996 20:07:10 +0000 (20:07 +0000)]
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)
Bruce Momjian [Fri, 4 Oct 1996 15:23:00 +0000 (15:23 +0000)]
Moved files.
Bruce Momjian [Fri, 4 Oct 1996 15:15:24 +0000 (15:15 +0000)]
new TODO.
Bruce Momjian [Fri, 4 Oct 1996 14:50:18 +0000 (14:50 +0000)]
Added purge(l) mention in manual page.
Bruce Momjian [Thu, 3 Oct 1996 23:34:36 +0000 (23:34 +0000)]
Removed -S from example and added nohup to log file.
Marc G. Fournier [Thu, 3 Oct 1996 22:41:42 +0000 (22:41 +0000)]
Added dlfcn.h to dl.c in BSD44_derived port
Bruce Momjian [Thu, 3 Oct 1996 20:11:41 +0000 (20:11 +0000)]
Added restriction to tables vacuum'able.
Added NOTICE messages for bad table names.
Bruce Momjian [Thu, 3 Oct 1996 20:09:48 +0000 (20:09 +0000)]
Added chown to Makefile to set files to Postgres user.
Does not display and generates no error messages on failure.
Bruce Momjian [Thu, 3 Oct 1996 17:27:48 +0000 (17:27 +0000)]
MOved them.
Bruce Momjian [Thu, 3 Oct 1996 17:27:01 +0000 (17:27 +0000)]
Moved them.
Bruce Momjian [Thu, 3 Oct 1996 17:15:56 +0000 (17:15 +0000)]
New FAQ.
Bruce Momjian [Thu, 3 Oct 1996 15:50:10 +0000 (15:50 +0000)]
Renamed createdb.l to create_database.l.
Changed portal to cursor.
Bruce Momjian [Thu, 3 Oct 1996 15:46:31 +0000 (15:46 +0000)]
Brought psql help up to date with syntax and manual.
Bruce Momjian [Thu, 3 Oct 1996 04:21:31 +0000 (04:21 +0000)]
New vacuum optoin.
Bruce Momjian [Thu, 3 Oct 1996 04:20:41 +0000 (04:20 +0000)]
New vacuum option.
Bruce Momjian [Thu, 3 Oct 1996 04:20:11 +0000 (04:20 +0000)]
Fixes extra space in printing.
Bruce Momjian [Thu, 3 Oct 1996 04:19:29 +0000 (04:19 +0000)]
Allow vacuum to run for only one table. Fixes allocation bug.
Bruce Momjian [Thu, 3 Oct 1996 01:14:37 +0000 (01:14 +0000)]
Fixed file to properly do SEMUN for BSDI.
Grouped some PORTNAME's for SEMUN.
Bruce Momjian [Thu, 3 Oct 1996 00:25:53 +0000 (00:25 +0000)]
Manual changes for initdb.sh change.
Bruce Momjian [Thu, 3 Oct 1996 00:23:42 +0000 (00:23 +0000)]
Added new single-letter options to initdb.sh.
Removed long-option names that used ${#} shell feature which
was a compatability problem.
Marc G. Fournier [Wed, 2 Oct 1996 21:38:35 +0000 (21:38 +0000)]
change stdout to fout
Submitted by: Carsten Heyl <heyl@nads.de>
Marc G. Fournier [Wed, 2 Oct 1996 20:42:20 +0000 (20:42 +0000)]
Added NEED_UNION_SEMUN to config.h
Marc G. Fournier [Wed, 2 Oct 1996 20:40:17 +0000 (20:40 +0000)]
Moved whether to define union semun from include/storage/ipc.h to
a define in include/config.h
Bruce Momjian [Sun, 29 Sep 1996 19:11:20 +0000 (19:11 +0000)]
This file was superceeded by README.fsync.
Bruce Momjian [Sat, 28 Sep 1996 00:57:41 +0000 (00:57 +0000)]
Changed default port name.
Bruce Momjian [Thu, 26 Sep 1996 18:34:49 +0000 (18:34 +0000)]
Change README to 2.0.
Bruce Momjian [Thu, 26 Sep 1996 16:49:09 +0000 (16:49 +0000)]
Add fsync option to Postgres manual page.
Bruce Momjian [Thu, 26 Sep 1996 16:29:05 +0000 (16:29 +0000)]
palloc() finfo memory. From Kurt.
Bruce Momjian [Thu, 26 Sep 1996 15:43:35 +0000 (15:43 +0000)]
Fix cluster finfo problem Kurt reported.
Bruce Momjian [Thu, 26 Sep 1996 15:40:45 +0000 (15:40 +0000)]
Fixed YACC depenencies and 'make clean' now cleans totally.
Bruce Momjian [Thu, 26 Sep 1996 14:07:07 +0000 (14:07 +0000)]
Updated version.
Bruce Momjian [Thu, 26 Sep 1996 04:22:49 +0000 (04:22 +0000)]
This should cause 'make clean' to clean up bki files. Looks like a typo.
Bruce Momjian [Thu, 26 Sep 1996 03:17:44 +0000 (03:17 +0000)]
Prevents possible packet loss from SIGCHLD.
Bruce Momjian [Thu, 26 Sep 1996 01:13:14 +0000 (01:13 +0000)]
upgrade.
Bruce Momjian [Thu, 26 Sep 1996 00:48:48 +0000 (00:48 +0000)]
Updated version.
Bruce Momjian [Wed, 25 Sep 1996 19:37:31 +0000 (19:37 +0000)]
Fix location of include files to match postgres.h includes.
Bruce Momjian [Wed, 25 Sep 1996 19:24:58 +0000 (19:24 +0000)]
Changed gawk to awk.
Marc G. Fournier [Tue, 24 Sep 1996 01:57:01 +0000 (01:57 +0000)]
Patch for:
# _fUnKy_POSTPORT_sTuFf_ - port to run the postmaster on
Submitted by: D'Arcy
Marc G. Fournier [Mon, 23 Sep 1996 18:17:42 +0000 (18:17 +0000)]
Change the comments pertaining to Makefile.custom
Submitted by: darcy@druid.druid.com (D'Arcy J.M. Cain)
Marc G. Fournier [Mon, 23 Sep 1996 18:15:41 +0000 (18:15 +0000)]
Prototype setMaxOid()
Submitted by: Bruce
Marc G. Fournier [Mon, 23 Sep 1996 18:14:08 +0000 (18:14 +0000)]
CFLAGS +- -I... got messed by one of Bryan's patches
Fix Submitted by: Bryan himself :)
Marc G. Fournier [Mon, 23 Sep 1996 08:43:40 +0000 (08:43 +0000)]
Fix for using Makefile.custom
Suggested/Submitted by: darcy@druid.druid.com
Cleaner Method Submitted by: Bryan Henderson <bryanh@giraffe.netgate.net>
Marc G. Fournier [Mon, 23 Sep 1996 08:39:53 +0000 (08:39 +0000)]
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Bryan Henderson <bryanh@giraffe.netgate.net>
Cc: Postgres95-development <pg95-dev@ki.net>
Subject: Re: [PG95-DEV] DELETE statement
>
> Does the man page for DELETE need to be corrected? It gives as syntax
>
> DELETE instance_variable [FROM fromlist] [WHERE qual] .
>
> But the actual syntax appears to be
>
> DELETE FROM classname WHERE qual .
>
> --
> Bryan Henderson Phone 408-227-6803
> San Jose, California
>
This patch fixes the delete manual page in 2.0:
Marc G. Fournier [Mon, 23 Sep 1996 08:38:45 +0000 (08:38 +0000)]
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Postgres95-development <pg95-dev@ki.net>
Subject: [PG95-DEV] postgres.h patch
This removes the parameters from the func_ptr prototype in postgres.h in
2.0.
Marc G. Fournier [Mon, 23 Sep 1996 08:37:41 +0000 (08:37 +0000)]
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Postgres95-development <pg95-dev@ki.net>
Subject: [PG95-DEV] Makefile.global patch
Can we apply the following patch to make EUROPEAN_DATES consistent with
other parameters?
Marc G. Fournier [Mon, 23 Sep 1996 08:36:39 +0000 (08:36 +0000)]
Date: Sun, 22 Sep 1996 13:47:39 -0400 (EDT)
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Postgres95-development <pg95-dev@ki.net>
Subject: [PG95-DEV] 2.0 patch for fastgetattr
Marc G. Fournier [Mon, 23 Sep 1996 08:31:01 +0000 (08:31 +0000)]
diff -ru ../../../orig/postgres95/src/backend/utils/adt/varlena.c
./utils/adt/varlena.c
- --- ../../../orig/postgres95/src/backend/utils/adt/varlena.c Mon Jul 22
23:56:04 1996
+++ ./utils/adt/varlena.c Tue Sep 17 15:12:55 1996
@@ -166,7 +166,7 @@
if (inputText == NULL)
return(NULL);
- - len = strlen(inputText) + VARHDRSZ;
+ len = strlen(inputText) + VARHDRSZ + 1 /* terminating 0 */;
result = (struct varlena *) palloc(len);
VARSIZE(result) = len;
memmove(VARDATA(result), inputText, len - VARHDRSZ);
Submitted by: skimo@breughel.ufsia.ac.be (Sven Verdoolaege)
Marc G. Fournier [Mon, 23 Sep 1996 08:29:52 +0000 (08:29 +0000)]
diff -ru ../../../orig/postgres95/src/backend/libpq/be-fsstubs.c
./libpq/be-fsstubs.c
- --- ../../../orig/postgres95/src/backend/libpq/be-fsstubs.c Tue Jul 9
08:21:30 1996
+++ ./libpq/be-fsstubs.c Tue Sep 17 15:30:09 1996
@@ -241,7 +241,7 @@
*/
fd = open(VARDATA(filename), O_RDONLY, 0666);
if (fd < 0) { /* error */
- - elog(WARN, "lo_import: can't open unix file\"%s\"\n", filename);
+ elog(WARN, "lo_import: can't open unix file \"%s\"\n",
VARDATA(filename));
}
/*
Submited by: skimo@breughel.ufsia.ac.be (Sven Verdoolaege)
Marc G. Fournier [Mon, 23 Sep 1996 08:27:04 +0000 (08:27 +0000)]
Finish commiting Bryan's patches...
Marc G. Fournier [Mon, 23 Sep 1996 08:24:13 +0000 (08:24 +0000)]
Here's a patch that I discussed recently on pg95-dev that changes the
way one creates a database system. Parts that were in "make install"
are not either in "make all" or initdb. Nothing goes in the PGDATA
directory besides user data. Creating multiple database systems is
easier.
In addition to applying the patch, it is necessary to move the file
libpq/pg_hba to backend/libpq/pg_hba.sample.
Submitted by: Bryan Henderson <bryanh@giraffe.netgate.net>
Marc G. Fournier [Sun, 22 Sep 1996 01:30:52 +0000 (01:30 +0000)]
*** src/backend/storage/file/fd.c.orig Thu Sep 12 17:17:21 1996
--- src/backend/storage/file/fd.c Thu Sep 12 17:23:38 1996
***************
*** 262,268 ****
Delete(file);
/* save the seek position */
! fileP->seekPos = lseek(fileP->fd, 0L, SEEK_CUR);
Assert( fileP->seekPos != -1);
/* if we have written to the file, sync it */
--- 262,268 ----
Delete(file);
/* save the seek position */
! fileP->seekPos = (long) lseek(fileP->fd, 0L, SEEK_CUR);
Assert( fileP->seekPos != -1);
/* if we have written to the file, sync it */
Submitted by: Randy Terbush <randy@zyzzyva.com>
Marc G. Fournier [Sat, 21 Sep 1996 19:12:11 +0000 (19:12 +0000)]
Turned off EUROPEAN_DATES as default...
Pointed out by Bruce
Marc G. Fournier [Sat, 21 Sep 1996 06:31:13 +0000 (06:31 +0000)]
|For starters, here's a small patch that removes a compiler warning in that
|regex stuff on Linux.
|
|--
|Bryan Henderson Phone 408-227-6803
|San Jose, California
|
Marc G. Fournier [Sat, 21 Sep 1996 06:29:09 +0000 (06:29 +0000)]
|This fixes the bug introduced yesterday that causes "not found" errors
|with gram.c and parser.h.
|
|--
|Bryan Henderson Phone 408-227-6803
|San Jose, California
|
Marc G. Fournier [Sat, 21 Sep 1996 06:27:11 +0000 (06:27 +0000)]
Nothing patched...just testing something with CVS...
Marc G. Fournier [Sat, 21 Sep 1996 06:24:41 +0000 (06:24 +0000)]
Patches to make POSTPORT changes in scripts
Originally submitted by: ernst.molitor@uni-bonn.de
resubmitted by: D'Arcy Cain
Marc G. Fournier [Fri, 20 Sep 1996 08:34:39 +0000 (08:34 +0000)]
Various patches from Bryan that *should* clean up the compile problems
ppl are seeing with v2.0
Marc G. Fournier [Fri, 20 Sep 1996 05:29:31 +0000 (05:29 +0000)]
Add the regex include files to the repository...
In my cvs source tree, tihs directory existed, which is why it compiled
on my system, but nobody elses...
Marc G. Fournier [Thu, 19 Sep 1996 20:22:23 +0000 (20:22 +0000)]
Documentation on the fsync() patch from OpenLink
Submitted by: Cees de Groot <C.deGroot@inter.nl.net>
Marc G. Fournier [Thu, 19 Sep 1996 20:19:05 +0000 (20:19 +0000)]
Newer version of Bruce's pginterface library...
Marc G. Fournier [Thu, 19 Sep 1996 20:16:55 +0000 (20:16 +0000)]
Clean out the old...
Marc G. Fournier [Thu, 19 Sep 1996 20:09:02 +0000 (20:09 +0000)]
Here is a /doc patch for the oid preservation code.
Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
Marc G. Fournier [Thu, 19 Sep 1996 20:08:09 +0000 (20:08 +0000)]
nonulls is not supported in gram.y, so why advertise it.
Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
Marc G. Fournier [Thu, 19 Sep 1996 20:07:15 +0000 (20:07 +0000)]
This shows the new use of defaults.
Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
Marc G. Fournier [Thu, 19 Sep 1996 20:05:59 +0000 (20:05 +0000)]
I have two small patches which correct some very obscure bug in the parser
of the array constants and in one of the loadable modules I posted some time
ago.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Thu, 19 Sep 1996 20:02:53 +0000 (20:02 +0000)]
Another small change. Added the void keyword to an empty arg list.
Submitted by: darcy@druid.druid.com (D'Arcy J.M. Cain)
Marc G. Fournier [Thu, 19 Sep 1996 20:01:40 +0000 (20:01 +0000)]
Just a small change to flesh out the func_ptr typedef declaration.
Submitted by: darcy@druid.druid.com (D'Arcy J.M. Cain)
Marc G. Fournier [Thu, 19 Sep 1996 20:00:37 +0000 (20:00 +0000)]
A few changes to cleanup the code.
- Added the header access/heapam.h.
- Changed all instances of "length" to "data_length" to quiet
the compiler.
- initialized a few variables. The compiler couldn't see that
the code guaranteed that these would be initialized before
being dereferenced. If anyone wants to check my work follow
the usage of these variables and make sure that this true
and wasn't actually a bug in the original code.
- added a missing break statement to a default case. This
was a benign error but bad style.
- layed out heap_sysattrlen differently. I think this way
makes the structure of the code crystal clear. There should
be no actual difference in the actual behaviour of the code.
Submitted by: darcy@druid.druid.com (D'Arcy J.M. Cain)