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
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
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
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
Bruce Momjian
5a5cb30096
Fix tolower loops to go in proper direction for cache.
1997-12-05 01:13:24 +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
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
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
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
Bruce Momjian
dfc1a6a848
Document pg_dump -z, clean up option list. Fix problem with libpq handling of field names uppercase code.
1997-12-01 21:01:24 +00:00
Thomas G. Lockhart
07c1837f50
Change elog WARN messages for UNIQUE and PRIMARY, FOREIGN KEY
...
to NOTICE messages so that execution proceeds rather than halting.
These clauses are ignored as stated in the messages.
Allow NOT NULL UNIQUE syntax (both were allowed individually before).
Allow Postgres-style casting ("::") of non-constants.
1997-11-30 23:11:10 +00:00
Thomas G. Lockhart
361f9e7f8d
Add comments and move a few declaration blocks to help readability.
...
No functional changes this time!
1997-11-30 23:05:39 +00:00
Bruce Momjian
002796b5ca
Rename heap_destroyr to heap_destroy, heap_destroy to heap_destroy_with_catalog.
1997-11-28 17:28:02 +00:00
Bruce Momjian
c445ba331b
Rename heap_create to heap_create_and_catatlog, rename heap_creatr to heap_create().
1997-11-28 04:40:40 +00:00
Bruce Momjian
a8926e0461
Salt fix for password, from Tatsuo Ishii.
1997-11-27 03:11:55 +00:00
Bruce Momjian
241a87b951
Prevent flushing from packets, by Massimo.
1997-11-27 03:01:12 +00:00
Bruce Momjian
db00632e0f
Cleaups of comments.
1997-11-27 02:23:02 +00:00
Bruce Momjian
bac80c218e
Add README for parser directory
1997-11-26 15:36:00 +00:00
Bruce Momjian
d79b9a1b7a
Re-order args for TypeCreate() to be clearer.
1997-11-26 04:50:47 +00:00
Bruce Momjian
7c00ffb843
Fix from Zeugswetter Andreas DBT for Sendproc.
1997-11-26 04:37:53 +00:00
Bruce Momjian
983ec2cb4b
Make parser functions static where possible.
1997-11-26 03:54:23 +00:00
Bruce Momjian
b704426618
Make parser functions static where possible.
1997-11-26 03:43:18 +00:00
Bruce Momjian
598e86f3b3
Cleanup up include files.
1997-11-26 01:14:33 +00:00
Bruce Momjian
4a5b781d71
Break parser functions into smaller files, group together.
1997-11-25 22:07:18 +00:00
Bruce Momjian
3aff4011c7
Remove gram problems with archive.
1997-11-24 16:55:22 +00:00
Bruce Momjian
49656346b8
Move dbcommands.c to commands/. It should not be in the parser directory.
1997-11-24 05:32:56 +00:00
Bruce Momjian
36e3df0767
Move dbcommands.c to commands/. It should not be in the parser directory.
1997-11-24 05:21:03 +00:00
Bruce Momjian
f7f2e18f8e
Remove tqual.h includes not needed.
1997-11-24 05:09:50 +00:00
Bruce Momjian
1409819a87
Fix for textcat on varchar() fields.
1997-11-23 21:39:12 +00:00
Bruce Momjian
f4253b0b49
Archive cleanups.
1997-11-21 19:59:39 +00:00
Bruce Momjian
043cebce2b
More archive cleanup.
1997-11-21 19:02:59 +00:00
Bruce Momjian
629e27284d
Remove unused files.
1997-11-21 18:22:04 +00:00
Bruce Momjian
3fa2bb316c
Remove archive stuff.
1997-11-21 18:12:58 +00:00