Marc G. Fournier
9ef6b32c47
Makefile cleaned up
...
async.c: #include <port-protos.h> surrounded by an #ifdef HAVE_STRDUP
vacuum.c: #include <port-protos.h> commented out...can someone comment as
to why it was included, as it doesn't seem to have any effect
under FreeBSD so far...would like some sort of #ifdef wrapper
like async.c if possible
1997-12-17 04:44:50 +00:00
Marc G. Fournier
e2d9501094
Clean up the Makefiles
...
Essentially, this cleans things up so that if PORTNAME isn't defined (I'm
working on getting rid of it for FreeBSD, at least, to see if its possible)
none of the PORTNAME related stuff gets passed around.
Had a little bit of -I related redundancy as well
1997-12-17 04:31:34 +00:00
Marc G. Fournier
ceabf8cab9
Make it entirely possible for PORTNAME to be undefined
1997-12-17 04:03:30 +00:00
Marc G. Fournier
6bdcad66e4
Add recognition for 'machten'
1997-12-17 03:23:52 +00:00
Thomas G. Lockhart
b31df3ebb7
Mention PST8PDT explicitly in the banner message (rather than PST/PDT).
1997-12-16 16:01:05 +00:00
Thomas G. Lockhart
6316f4d3db
Define text, varchar, and bpchar string length functions.
1997-12-16 15:59:11 +00:00
Thomas G. Lockhart
6873af55cf
Use MAXPGPATH to declare size of socket name storage.
1997-12-16 15:58:14 +00:00
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
Thomas G. Lockhart
a58825a467
Add declarations for text, bpchar, and varchar length functions.
...
Remove declarations in builtins.h duplicated in dt.h.
Change a few return type declarations to use "type *"
rather than "struct ...".
1997-12-16 15:55:17 +00:00
Thomas G. Lockhart
3551ee097f
Add declarations for text, bpchar, and varchar length functions.
1997-12-16 15:53:17 +00:00
Thomas G. Lockhart
331a163693
Allow multiple-argument functions in constraint clauses.
...
Formerly allowed only single arguments.
Declare column constraints using the usual list mechanism rather
than explicit itemized lists.
Remove NOTNULL from default clause syntax (retain "NOT NULL").
NOTNULL is not SQL92; eventually remove it from expressions too?
Move ISNULL, NOTNULL to Postgres-specific token declarations.
Fix up tabs and indenting on new CREATE USER commands.
1997-12-16 15:50:54 +00:00
Thomas G. Lockhart
640fe03bcf
Improve (well, ok, fix) generated constraint name for column CHECK clause.
1997-12-16 15:45:46 +00:00
Bruce Momjian
eb825d356e
Fix order of keywords, must be alphabetical.
1997-12-16 05:04:00 +00:00
Bruce Momjian
0f1802f00c
Fix for user password packet processing, from Goran Thyni.
1997-12-15 22:03:59 +00:00
Bruce Momjian
ab179d6940
Make password null on startup.
1997-12-12 16:26:36 +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
645cc13276
Remove PGDATA setting and use DataDir.
1997-12-11 17:03:52 +00:00
Bruce Momjian
b69359e2d7
Spark/Linux patch for locking, from Tom Szybist
1997-12-09 20:55:33 +00:00
Marc G. Fournier
da72b903ff
Major code cleanup following the pg_password insertion...
...
...malloc/free -> palloc/pfree
...fopen/fclose -> AllocateFile/FreeFile
1997-12-09 03:11:25 +00:00
Thomas G. Lockhart
405740ace6
Include informational messages added for implicit index creation.
1997-12-09 01:46:31 +00:00
Thomas G. Lockhart
2ac4cf5502
Add information message about implicitly created indices.
...
Check for duplicate implicit index names and generate unique names.
1997-12-09 01:44:14 +00:00
Thomas G. Lockhart
a440f8e3d7
Remove trailing period from an elog message.
...
Most other messages do not have one.
1997-12-09 01:40:30 +00:00
Bruce Momjian
53026db75e
More VARHDRSZ additions.
1997-12-08 04:42:48 +00:00
Marc G. Fournier
bec35da8bf
Add error check on getenv("DATADIR")
...
Add code to set DATADIR in postmaster.c if -D is used
1997-12-07 20:57:45 +00:00
Bruce Momjian
a68a132a6c
Add VARHDRSZ where needed. Many places just used 4.
1997-12-06 22:57:36 +00:00
Thomas G. Lockhart
1932d92161
Allow logging of output to syslog or /tmp/postgres.log.
...
Put all configurable parameters near top of file.
Remove explicit path to postmaster executable.
More comments.
1997-12-06 03:02:34 +00:00
Thomas G. Lockhart
d358456ca3
Add test for multi-character char().
1997-12-05 01:14:55 +00:00
Bruce Momjian
5a5cb30096
Fix tolower loops to go in proper direction for cache.
1997-12-05 01:13:24 +00:00
Marc G. Fournier
84fc5c4aed
I found one other change that I would like to make to the
...
src. It is in the function ParseACL. When I find that I
can not allocate enough memory for the ACL structure I
return an NULL instead of doing an exit_nicely(g_conn);
From: Matthew C Aycock <maycock@scuba.pcpipeline.com>
1997-12-05 01:04:25 +00:00
Thomas G. Lockhart
733f2a43cc
Change constraint syntax to SQL92 style.
...
Add tests for PRIMARY KEY and UNIQUE clauses.
1997-12-05 00:01:22 +00:00
Thomas G. Lockhart
5d7c9119fa
Define USE_GERMAN_DATES for use in date/time I/O functions.
1997-12-04 23:58:01 +00:00
Thomas G. Lockhart
dc88e795d1
Change Constraint structure to be a full node structure.
...
Add new constraint types PRIMARY, UNIQUE.
1997-12-04 23:55:52 +00:00
Thomas G. Lockhart
77356a7fc1
Add Constraint node type.
...
Remove TimeRange node type tag (everything else already gone).
1997-12-04 23:43:59 +00:00
Thomas G. Lockhart
352b36877f
Add 'GERMAN' style to date/time output.
...
Probably have it wrong (dd.mm/yyyy) but can change it when we know.
Input routines always handled it.
1997-12-04 23:30:52 +00:00
Thomas G. Lockhart
d7e0e61d84
Run through toupper() conversion in the forward direction.
...
Most processors should optimize this a bit better wrt cache prefetch.
1997-12-04 23:28:20 +00:00
Thomas G. Lockhart
6ad698c928
Add some printing capability for a few more node types (CreateStmt,
...
IndexStmt, IndexElem, ColumnDef).
1997-12-04 23:20:32 +00:00
Thomas G. Lockhart
0295864514
Add 'GERMAN' option to DateStyle.
1997-12-04 23:17:13 +00:00
Thomas G. Lockhart
0569136e48
Change Constraint structure name from ConstraintDef to Constraint.
...
Change reference to field inside to be compatible with new definition
as a "node" structure rather than a specialty structure.
1997-12-04 23:15:28 +00:00
Thomas G. Lockhart
1ac4ae4993
Add SQL92-compliant syntax for constraints.
...
Implement PRIMARY KEY and UNIQUE clauses using indices.
1997-12-04 23:07:23 +00:00
Thomas G. Lockhart
7b06d99571
Backend code redefinitions to allow read/write
...
of integer Unix system times.
1997-12-04 23:04:08 +00:00
Bruce Momjian
8d30b40843
Update description for PGHOST and unix domain sockets. Add warning for failed connections.
1997-12-04 20:32:35 +00:00
Bruce Momjian
7d2fafe636
Update description for PGHOST and unix domain sockets. Add warning for failed connections.
1997-12-04 20:26:37 +00:00
Marc G. Fournier
8a57e21c30
Incorporate patch from Matt(maycock@intelliquest.com) for dumping ACLs
...
Clean up formatting of code
Integrate new functions into dumpTable
This is not tested yet...have to recompile server due to patches from
Todd...but this compiles cleanly as it stands now
1997-12-04 01:31:28 +00:00
Marc G. Fournier
a91ad1af09
Missed a few files from Todd's patch...oops :)
1997-12-04 00:34:01 +00:00
Marc G. Fournier
4c04f7724e
From: todd brandys <brandys@eng3.hep.uiuc.edu>
...
An extension to the code to allow for a pg_password authentication database
that is *seperate* from the system password file
1997-12-04 00:28:15 +00:00
Bruce Momjian
333323f304
Fix vacuum analyze syntax problem.
1997-12-02 16:09:15 +00:00
Marc G. Fournier
899326a78b
the -l option doesn't take a port option, so the man page shouldn't say it
...
does
1997-12-02 03:43:54 +00:00
Marc G. Fournier
3253f9e222
gmake distclean wasn't removing the configure generated Makefile in
...
pg_version...
...fixed
1997-12-02 03:19:42 +00:00
Thomas G. Lockhart
8f4865bdd7
Remove premature code in constraint parsing.
...
Change elog WARN to NOTICE for unimplemented constraints.
1997-12-02 02:54:15 +00:00
Marc G. Fournier
9257cb65b2
Linux related change to .similar to handle 'a.out' files...
...
From: Herb Richter <hgr@buynet.com>
1997-12-02 02:43:08 +00:00