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
28 years ago
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
28 years ago
Marc G. Fournier
ceabf8cab9
Make it entirely possible for PORTNAME to be undefined
28 years ago
Marc G. Fournier
6bdcad66e4
Add recognition for 'machten'
28 years ago
Thomas G. Lockhart
b31df3ebb7
Mention PST8PDT explicitly in the banner message (rather than PST/PDT).
28 years ago
Thomas G. Lockhart
6316f4d3db
Define text, varchar, and bpchar string length functions.
28 years ago
Thomas G. Lockhart
6873af55cf
Use MAXPGPATH to declare size of socket name storage.
28 years ago
Thomas G. Lockhart
8de20a3aed
Use environment variable PGDATESTYLE on backend startup to initialize
...
date/time formats and conventions.
28 years ago
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 ...".
28 years ago
Thomas G. Lockhart
3551ee097f
Add declarations for text, bpchar, and varchar length functions.
28 years ago
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.
28 years ago
Thomas G. Lockhart
640fe03bcf
Improve (well, ok, fix) generated constraint name for column CHECK clause.
28 years ago
Bruce Momjian
eb825d356e
Fix order of keywords, must be alphabetical.
28 years ago
Bruce Momjian
0f1802f00c
Fix for user password packet processing, from Goran Thyni.
28 years ago
Bruce Momjian
ab179d6940
Make password null on startup.
28 years ago
Bruce Momjian
c60f70b53f
Rename pg_plan and pg_eval to be more meaningful.
28 years ago
Bruce Momjian
645cc13276
Remove PGDATA setting and use DataDir.
28 years ago
Bruce Momjian
b69359e2d7
Spark/Linux patch for locking, from Tom Szybist
28 years ago
Marc G. Fournier
da72b903ff
Major code cleanup following the pg_password insertion...
...
...malloc/free -> palloc/pfree
...fopen/fclose -> AllocateFile/FreeFile
28 years ago
Thomas G. Lockhart
405740ace6
Include informational messages added for implicit index creation.
28 years ago
Thomas G. Lockhart
2ac4cf5502
Add information message about implicitly created indices.
...
Check for duplicate implicit index names and generate unique names.
28 years ago
Thomas G. Lockhart
a440f8e3d7
Remove trailing period from an elog message.
...
Most other messages do not have one.
28 years ago
Bruce Momjian
53026db75e
More VARHDRSZ additions.
28 years ago
Marc G. Fournier
bec35da8bf
Add error check on getenv("DATADIR")
...
Add code to set DATADIR in postmaster.c if -D is used
28 years ago
Bruce Momjian
a68a132a6c
Add VARHDRSZ where needed. Many places just used 4.
28 years ago
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.
28 years ago
Thomas G. Lockhart
d358456ca3
Add test for multi-character char().
28 years ago
Bruce Momjian
5a5cb30096
Fix tolower loops to go in proper direction for cache.
28 years ago
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>
28 years ago
Thomas G. Lockhart
733f2a43cc
Change constraint syntax to SQL92 style.
...
Add tests for PRIMARY KEY and UNIQUE clauses.
28 years ago
Thomas G. Lockhart
5d7c9119fa
Define USE_GERMAN_DATES for use in date/time I/O functions.
28 years ago
Thomas G. Lockhart
dc88e795d1
Change Constraint structure to be a full node structure.
...
Add new constraint types PRIMARY, UNIQUE.
28 years ago
Thomas G. Lockhart
77356a7fc1
Add Constraint node type.
...
Remove TimeRange node type tag (everything else already gone).
28 years ago
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.
28 years ago
Thomas G. Lockhart
d7e0e61d84
Run through toupper() conversion in the forward direction.
...
Most processors should optimize this a bit better wrt cache prefetch.
28 years ago
Thomas G. Lockhart
6ad698c928
Add some printing capability for a few more node types (CreateStmt,
...
IndexStmt, IndexElem, ColumnDef).
28 years ago
Thomas G. Lockhart
0295864514
Add 'GERMAN' option to DateStyle.
28 years ago
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.
28 years ago
Thomas G. Lockhart
1ac4ae4993
Add SQL92-compliant syntax for constraints.
...
Implement PRIMARY KEY and UNIQUE clauses using indices.
28 years ago
Thomas G. Lockhart
7b06d99571
Backend code redefinitions to allow read/write
...
of integer Unix system times.
28 years ago
Bruce Momjian
8d30b40843
Update description for PGHOST and unix domain sockets. Add warning for failed connections.
28 years ago
Bruce Momjian
7d2fafe636
Update description for PGHOST and unix domain sockets. Add warning for failed connections.
28 years ago
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
28 years ago
Marc G. Fournier
a91ad1af09
Missed a few files from Todd's patch...oops :)
28 years ago
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
28 years ago
Bruce Momjian
333323f304
Fix vacuum analyze syntax problem.
28 years ago
Marc G. Fournier
899326a78b
the -l option doesn't take a port option, so the man page shouldn't say it
...
does
28 years ago
Marc G. Fournier
3253f9e222
gmake distclean wasn't removing the configure generated Makefile in
...
pg_version...
...fixed
28 years ago
Thomas G. Lockhart
8f4865bdd7
Remove premature code in constraint parsing.
...
Change elog WARN to NOTICE for unimplemented constraints.
28 years ago
Marc G. Fournier
9257cb65b2
Linux related change to .similar to handle 'a.out' files...
...
From: Herb Richter <hgr@buynet.com>
28 years ago