Bruce Momjian
4ce24c8aa9
UNION work for UNION ALL and other union stuff.
1997-12-27 06:41:41 +00:00
Vadim B. Mikheev
d8949adc20
Cleaning GCC warnings.
1997-12-26 06:02:26 +00:00
Bruce Momjian
6231e161c9
Implementation of UNIONs.
1997-12-24 06:06:58 +00:00
Bruce Momjian
18adbd9aed
Reverse out Thomas's group clause change.
1997-12-23 21:49:03 +00:00
Bruce Momjian
bbd5c21786
Make no-tty not use quiet in psql, fix group by copy failure, fix ccsym to delete tmp files.
1997-12-23 21:38:53 +00:00
Thomas G. Lockhart
2119b523c5
Fix numeric comparision (... != NULL) to be (... > 0). gcc is happier now.
...
Add non-working code which is commented-out to copy GroupClause structures.
1997-12-23 19:53:30 +00:00
Thomas G. Lockhart
12d5c30c8c
Add routines to print AExpr, Ident, and AConst parsing structures.
1997-12-23 19:50:54 +00:00
Thomas G. Lockhart
2c833a728f
Implement CREATE TABLE ... AS SELECT borrowing code from SubSelect
...
and from SELECT ... INTO ... support code.
Allow NOT, IS NULL, IS NOT NULL in constraints.
Define unionall boolean flag in SubSelect structure.
Implement row descriptors: (a, b, c) = (x, y, z).
Change IS TRUE, IS FALSE, etc. to expressions using "=" rather than
function calls to istrue() or isfalse() to allow optimization.
Force type for TRUE and FALSE to bool.
1997-12-23 19:47:32 +00:00
Thomas G. Lockhart
8ed721ffef
Change variable name reference from selectClause to more appropriate unionClause.
...
Add a few lines of test code playing with the unique flag for unions.
Does not do much helpful yet.
1997-12-23 19:39:42 +00:00
Thomas G. Lockhart
98f5975cb0
Fix up some elog error messages.
1997-12-23 19:36:20 +00:00
Thomas G. Lockhart
ca23837ade
Fix format to produce actual German style. Affects new "GERMAN" feature only.
1997-12-23 19:26:31 +00:00
Thomas G. Lockhart
ed14f88512
Change logic slightly to avoid one unnecessary calculation. No big deal.
1997-12-23 19:24:43 +00:00
Thomas G. Lockhart
c06331a47d
Change a few routine names back to full length now that pg_proc allows
...
names over 16 characters. datet_datetime() -> datetime_datetime(), etc.
1997-12-23 19:23:09 +00:00
Bruce Momjian
e4bd9127cb
Remove regression in function.
1997-12-23 03:27:23 +00:00
Bruce Momjian
d404f1006b
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2).
1997-12-22 05:42:25 +00:00
Bruce Momjian
78a055a659
Remove some recursion in optimizer and clean up some code there.
1997-12-21 05:18:48 +00:00
Bruce Momjian
7fd4782504
Fix aggregates on inherited tables.
1997-12-20 07:59:44 +00:00
Marc G. Fournier
1783963cab
Move more to dynloader subdir
1997-12-20 04:48:11 +00:00
Marc G. Fournier
44be631dd8
Make sure distclean works as well as clean
1997-12-20 04:43:20 +00:00
Marc G. Fournier
9a60a20f99
fix so that dynloader.h is included instead of port-protos.h
1997-12-20 04:13:31 +00:00
Marc G. Fournier
a38bd20b83
Fix use of variable in Makefile.in
1997-12-20 04:10:35 +00:00
Marc G. Fournier
1d5cd311d1
Oops, forgot to add what I took away
1997-12-20 03:38:20 +00:00
Marc G. Fournier
e3a18f6f50
More cleanups...
1997-12-20 03:36:35 +00:00
Marc G. Fournier
722fa83f05
More ports switched over
1997-12-20 03:23:46 +00:00
Marc G. Fournier
b5466f8669
Move over the BSDi port files
1997-12-20 03:13:59 +00:00
Marc G. Fournier
a0bc7aa74c
This should get the linux port to work...
1997-12-20 02:36:26 +00:00
Marc G. Fournier
6e337eef45
Major cleanout of PORTNAME variables from Makefiles...bound to screw up
...
some of the ports...
1997-12-20 00:29:35 +00:00
Marc G. Fournier
10ff1eea60
First clean compile without a "PORTNAME" variable being set...
1997-12-20 00:11:13 +00:00
Marc G. Fournier
93e74460a9
removed the port-protos.h from bsd a little too quick...remedied now
1997-12-19 23:17:42 +00:00
Marc G. Fournier
153558dff8
These files will get link'd to 'dynloader.[ch]', from configure, which
...
will then get link'd into SUBSYS.o
1997-12-19 22:58:27 +00:00
Marc G. Fournier
56a7d9fac2
More removal of port dependent stuff
1997-12-19 22:56:03 +00:00
Marc G. Fournier
903e21b451
More cleanups. Move alot of the prototype definitions straight into
...
config.h, right beside their appropriate HAVE_ #ifdefs...one central
location that is included everywhere...
1997-12-19 22:47:00 +00:00
Bruce Momjian
e2aec508e2
Replace foo/bar to l1/l2.
1997-12-19 16:54:15 +00:00
Marc G. Fournier
c6bd6860d7
More cleanups...only need one rusagestub.h
1997-12-19 13:35:17 +00:00
Marc G. Fournier
5acf432ddb
remove port from OBJS line...
1997-12-19 13:28:06 +00:00
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