Marc G. Fournier
2b4db36c00
Okay, that's it for tonight...broke a few ports, most likely, but that
...
is expected...a few ports don't have "ports" anymore, with most things
auto-configured by configure like it should be :)
1997-12-19 03:06:22 +00:00
Marc G. Fournier
70718dc25a
More cleanups
1997-12-19 02:56:35 +00:00
Marc G. Fournier
3aae0f5300
More cleanups...several ports are major redundancies of other ports
1997-12-19 02:46:25 +00:00
Marc G. Fournier
3ad815fc2a
port.c no longer required...individual functions that were in there are
...
auto-generated via configure
individual functions in individual files
1997-12-19 02:27:20 +00:00
Marc G. Fournier
5379b84eff
More cleanups. I can now compile without PORTNAME being defined n
...
Makefile.global.
End result, if all goes well, should allow for much easier porting, since
there will no longer be a concept of a "port". Most, if not everything,
*should* be determined by configure, or by the compiler itself. Still
work to be done though :)
1997-12-19 02:09:10 +00:00
Bruce Momjian
30856a3904
copy query cleanup.
1997-12-18 19:46:37 +00:00
Bruce Momjian
72c296dffc
Remove init_query_planner(), merged into planner().
1997-12-18 19:41:44 +00:00
Bruce Momjian
e9182152ec
Fix copy for no aggregates.
1997-12-18 19:13:49 +00:00
Bruce Momjian
6a45941f2f
Remove Existential, and ifdef out generate_fjoin. Neither did anything.
1997-12-18 12:54:45 +00:00
Bruce Momjian
4469eb63a3
Cost cleanup.
1997-12-18 12:30:44 +00:00
Bruce Momjian
d3f0e87d17
Cost cleanup.
1997-12-18 12:21:02 +00:00
Bruce Momjian
6b00ec3713
Cleanup of agg copy.
1997-12-18 05:58:40 +00:00
Bruce Momjian
bf9c9f716c
Cleanup of agg copy.
1997-12-18 04:33:31 +00:00
Bruce Momjian
c64cc3228a
Fix Query handling for inheritance, and cost computations.
1997-12-18 03:03:41 +00:00
Thomas G. Lockhart
d451a3b3bc
Enable timespan_finite() and text_timespan() routines (was commented out).
...
Define an "ISO-style" timespan output format with "hh:mm:ss" fields.
Enabled by DateStyle = USE_ISO_DATES.
1997-12-17 23:22:17 +00:00
Bruce Momjian
5266471a2f
Rename Query label so ctags finds real structure.
1997-12-17 18:21:37 +00:00
Bruce Momjian
d158fce8eb
Add optimizer README file.
1997-12-17 18:02:33 +00:00
Marc G. Fournier
542d4e528d
First pass through, of many to come, towards making the whole source
...
tree "non-PORTNAME" dependent. Technically, anything that is PORTNAME
dependent should be able to be derived at compile time, through configure
or through gcc
1997-12-17 04:59:16 +00:00
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
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