58118db39d
Add new postgres -O option to allow system table structure changes.
1999-03-17 22:53:31 +00:00
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
1999-02-13 23:22:53 +00:00
9322950aa4
Cleanup of source files where 'return' or 'var =' is alone on a line.
1999-02-03 21:18:02 +00:00
3d87216ab9
Get rid of some minor compiler warnings.
...
(HP's cc doesn't like if you forward-declare a routine static,
and then don't make it static in the actual definition...)
1998-10-26 01:00:13 +00:00
fa1a8d6a97
OK, folks, here is the pgindent output.
1998-09-01 04:40:42 +00:00
af74855a60
Renaming cleanup, no pgindent yet.
1998-09-01 03:29:17 +00:00
6bd323c6b3
Remove un-needed braces around single statements.
1998-06-15 19:30:31 +00:00
4b6fcc4459
Remove GetDatabaseName/Path and use globals. Make consts later.
1998-04-05 21:04:50 +00:00
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
1998-02-26 04:46:47 +00:00
679d39b9c8
Goodbye ABORT. Hello ERROR for all errors.
1998-01-07 21:07:04 +00:00
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:35:55 +00:00
7d1f2f8a27
Support alternate database locations.
1997-11-07 06:38:51 +00:00
3f365ba0fc
Inline memset() as MemSet().
1997-09-18 20:22:58 +00:00
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
1997-08-19 21:40:56 +00:00
022903f22e
Reduce open() calls. Replace fopen() calls with calls to fd.c functions.
1997-08-18 02:15:04 +00:00
ea5b5357cd
Remove more (void) and fix -Wall warnings.
1997-08-12 22:55:25 +00:00
79e78f0b80
Added SCO support, from Daniel Harris.
1997-07-28 00:57:08 +00:00
d865228807
AllocateFile():
...
fdleft = pg_nofile() - allocatedFiles - nfile;
looks more realistic, but too noisy -
fdleft = pg_nofile() - allocatedFiles;
restored.
1997-05-23 02:56:48 +00:00
ff8ce5230d
1. Cleanup (no more FreeFd - unuseful; others).
...
2. FreeFile() has to do nothing with nfile (# of files opened
by VFD manager).
1997-05-22 16:51:19 +00:00
2280e62d39
Make the error message output by AllocateFile() if failes to
...
open Nulldev a *bit* more user friendly...or, at least, admin
friendly...have it print strerror(errno) as well
1997-02-20 22:54:18 +00:00
31c8e94b34
Remove WIN32 defines. They never worked.
1997-02-14 04:19:07 +00:00
a246e87d12
Convert MISSING_SYSCONF to !HAVE_SYSCONF for autoconf
...
From: Keith Parks
1997-01-27 00:09:47 +00:00
ef228cb170
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
...
OK, The votes are in for the NOFILES limit.
With the exception of Next, for which I've not yet heard, all supported platforms
seem to have the sysconf() call.
port supported default Source.
aix yes 2000 darrenk@insightdist.com
alpha yes 4096 mjl@wwx.vip.at
BSD44_derived yes 64 scrappy@hub.org
bsdi yes ??? maillist@candle.pha.pa.us
dgux yes ??? geek@andrew.cmu.edu
hpux yes 60 emkxp01@mtcc.demon.co.uk
i386_solaris yes 64 emkxp01@mtcc.demon.co.uk
irix5 yes 200 martin@biochem.uc.ac.uk
linux yes 256 emkxp01@mtcc.demon.co.uk
next ???? ???
sparc_solaris yes 64 emkxp01@mtcc.demon.co.uk
sunos4 yes 64 emkxp01@mtcc.demon.co.uk
svr4 yes 64 chicks@chicks.net
ultrix4 yes 64 erik@sockdev.uni-c.dk
So here's a patch that I think will do the job.
(I assume Next will have sysconf() but if not just add MISSING_SYSCONF to
the config.h file )
Thanks,
Keith.
1997-01-13 01:25:29 +00:00
fd12c8f85e
Fixed Assert check where ! should be !=.
1996-12-28 22:44:14 +00:00
634b38aa86
Add asserts to check for file descriptor ring corruption.
1996-12-27 22:57:51 +00:00
9005a38bdb
Change portname "sparc" to "sunos4" and change some portname dependencies to
...
feature dependencies. Thanks Kurt J. Lidl.
1996-12-04 03:06:33 +00:00
4b2b8592a0
Compile and warning cleanup
1996-11-08 06:02:30 +00:00
ce4c0ce1de
Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>
1996-11-06 06:52:23 +00:00
18bbad7696
Remove OPENLINK define
1996-11-04 04:53:51 +00:00
4df1a41478
more removals of PORTNAME_*
1996-10-31 10:20:09 +00:00
e7c3adcd94
*** 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 >
1996-09-22 01:30:52 +00:00
5108a5b320
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
1996-07-22 23:00:26 +00:00
bc0bd47c6a
Fixes: In the solaris port the file descriptors are hard coded to 20 (from the
...
include file sys/param.h
Submitted by: michael.siebenborn@ae3.Hypo.DE (Michael Siebenborn (6929))
1996-07-18 04:59:42 +00:00
faf21935d1
fsync patch from openlink
1996-07-15 19:22:17 +00:00
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
1996-07-09 06:22:35 +00:00