Thomas G. Lockhart
8de20a3aed
Use environment variable PGDATESTYLE on backend startup to initialize
...
date/time formats and conventions.
1997-12-16 15:57:00 +00:00
Bruce Momjian
c60f70b53f
Rename pg_plan and pg_eval to be more meaningful.
1997-12-11 17:36:58 +00:00
Bruce Momjian
4a5b781d71
Break parser functions into smaller files, group together.
1997-11-25 22:07:18 +00:00
Thomas G. Lockhart
b42e37bcde
Change quickdie elog notice to a single message.
...
Clean up FloatExceptionHandler elog message source code.
1997-11-10 15:24:56 +00:00
Marc G. Fournier
242625f26b
From: Bryan Henderson <bryanh@giraffe.netgate.net>
...
My analysis of the formerly mentioned IPC reinitialization problem was
hampered by an imprecise error message. I have rewritten it so it is
clearer and more accurate.
1997-11-09 04:47:09 +00:00
Bruce Momjian
c17fa36d3c
Add Unix domain socket support, from Goran Thyni, goran@bildbasen.se
1997-11-07 20:52:15 +00:00
Vadim B. Mikheev
32cd09ac6d
Good Bye, Time Travel!
1997-11-02 15:27:14 +00:00
Bruce Momjian
f3af1368bd
Rename strNcpy to StrNCpy, and change third parameter.
1997-10-25 01:10:58 +00:00
Bruce Momjian
3f365ba0fc
Inline memset() as MemSet().
1997-09-18 20:22:58 +00:00
Vadim B. Mikheev
8f1e1b4551
No more SortTuplesInTree...
1997-09-18 14:33:46 +00:00
Vadim B. Mikheev
10971a6f81
Allow set max number of tuples in leftist tree for sorts
...
(-S memory,tuples)
1997-09-18 05:19:17 +00:00
Vadim B. Mikheev
feb78cda0c
-S need in optarg...
1997-09-15 14:28:16 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
1997-08-19 21:40:56 +00:00
Bruce Momjian
fd86ae151a
Cleanup global variables, remove stable memory stuff.
1997-08-14 16:11:41 +00:00
Bruce Momjian
edb58721b8
Fix pgproc names over 15 chars in output. Add strNcpy() function. remove some (void) casts that are unnecessary.
1997-08-12 20:16:25 +00:00
Bruce Momjian
cc24b846dd
psort cleanups.
1997-08-06 05:38:46 +00:00
Bruce Momjian
8fd7db8163
Another fix.
1997-08-06 05:08:37 +00:00
Bruce Momjian
f5f366e188
Allow internal sorts to be stored in memory rather than in files.
1997-08-06 03:42:21 +00:00
Thomas G. Lockhart
e1d9cf096c
Remove some unnecessary include statements (comment out with #ifdef FALSE).
1997-07-29 16:14:40 +00:00
Bruce Momjian
79e78f0b80
Added SCO support, from Daniel Harris.
1997-07-28 00:57:08 +00:00
Bruce Momjian
3ac9d2fff3
Various compile errors concerning overflow due to shifts, unsigned, and bad prototypes, from Solaris, from Diab Jerius
1997-07-24 20:19:10 +00:00
Marc G. Fournier
e9f37a7410
Somewhat backwards #ifdef's for HAVE_GETRUSAGE
1997-04-24 03:39:09 +00:00
Marc G. Fournier
7a7a9b1a04
Change HAVE_RUSAGE to HAVE_GETRUSAGE, which is the more appropriate
1997-04-23 18:02:43 +00:00
Bruce Momjian
31c8e94b34
Remove WIN32 defines. They never worked.
1997-02-14 04:19:07 +00:00
Marc G. Fournier
fb70587c1d
Patch from Massimo Dal Zotto <dz@cs.unitn.it>
...
The following patches add to the backend a new debugging flag -K which prints
a debug trace of all locking operations on user relations (those with oid
greater than 20000). The code is compiled only if LOCK_MGR_DEBUG is defined,
so the patch should be harmless if not explicitly enabled.
I'm using the code to trace deadlock conditions caused by application queries
using the command "$POSTMASTER -D $PGDATA -o '-d 1 -K 1'.
The patches are for version 6.0 dated 970126.
1997-02-12 05:25:13 +00:00
Marc G. Fournier
9cabea224c
Change references to NEED_RUSAGE to HAVE_RUSAGE
...
Pointed out by:" Tatsuo Ishii <t-ishii@sra.co.jp>
1997-02-03 04:43:31 +00:00
Marc G. Fournier
6ab9db7b78
Apply usage patches for European Dates patch from Keith
1997-01-27 22:37:52 +00:00
Bruce Momjian
1836ce2c81
Change next to nextstep where missed.
1997-01-26 20:15:26 +00:00
Marc G. Fournier
632c44d829
Bring in a patch from Keith Parks to move the use of European dates
...
from a #define to a run-time option '-e'
Man page was updated to reflect new option
1997-01-26 15:32:28 +00:00
Bryan Henderson
05b0f22900
Eliminate dupliclate definition of external variables reldesc and DataDir.
...
Some compilers recognize this error.
1997-01-14 08:05:36 +00:00
Bruce Momjian
e8f43854ac
pq/signal() portability patch. Also psql copy prompt fix.
1996-12-26 22:08:34 +00:00
Bruce Momjian
8cedf57eb1
Reduce printing from debug level 2 ande layout change.
1996-12-07 04:39:38 +00:00
Bruce Momjian
79b1a0ff35
Allow all empty queries to return EMPTY.
1996-11-27 13:47:05 +00:00
Bryan Henderson
e2a8163c40
Remove linux define of __USE_POSIX, which doesn't appear to do anything.
1996-11-18 02:26:57 +00:00
Bryan Henderson
aef6163388
Remove old GetPGData reference that causes warning.
1996-11-16 09:03:44 +00:00
Bryan Henderson
f64b840387
Remove most compile-time options, add a few runtime options to make up for it.
...
In particular, no more compiled-in default for PGDATA or LIBDIR. Commands
that need them need either invocation options or environment variables.
PGPORT default is hardcoded as 5432, but overrideable with options or
environment variables.
1996-11-14 10:25:54 +00:00
Bruce Momjian
13d44b4aac
Warning removal cleanup
1996-11-11 04:54:54 +00:00
Bruce Momjian
aaeef4d17d
All external function definitions now have prototypes that are checked.
1996-11-10 03:06:38 +00:00
Bryan Henderson
bf5cbbf789
Quiet compiler warnings.
1996-11-10 02:27:15 +00:00
Bruce Momjian
4b2b8592a0
Compile and warning cleanup
1996-11-08 06:02:30 +00:00
Bruce Momjian
18bbad7696
Remove OPENLINK define
1996-11-04 04:53:51 +00:00
Marc G. Fournier
c9002ecb21
Produce a clean compile of backend...
1996-11-03 06:54:38 +00:00
Marc G. Fournier
df6a9e633c
more removal of PORTNAME_*
1996-10-31 10:23:28 +00:00
Marc G. Fournier
f1c95ed41e
Fix memset() call, variables being passed in wrong order.
...
Pointed out by: wieck@sapserv.debis.de
1996-10-30 21:18:22 +00:00
Bruce Momjian
86be8677a9
Added consistent include file handling for MAXHOSTNAMELEN.
...
If I have introduced any syntax errors with this, I will patch them in
the morning, and Marc will have a good laugh.
1996-10-13 04:50:27 +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
906651f663
There is a bug in the function executor. The backend crashes while trying to
...
execute an sql function containing an utility command (create, notify, ...).
The bug is part in the planner, which returns a number of plans different
than the number of commands if there are utility commands in the query, and
in part in the function executor which assumes that all commands are normal
query commands and causes a SIGSEGV trying to execute commands without plan.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-09-16 05:36:38 +00:00