Bruce Momjian
412a5e6539
Parser cleanup.
...
Add lock to i386 asm.
1998-01-20 05:05:08 +00:00
Bruce Momjian
1316113ea3
Fix problem with nodes handling.
1998-01-19 18:11:10 +00:00
Bruce Momjian
b37bc65f44
Creates the SubLink structure, and the Query->hasSubLink field,
...
with supporting code.
Creates SubLink node in gram.y.
psql.c patch for newatttypmod field.
1998-01-17 04:53:46 +00:00
Bruce Momjian
c65ea0e040
New pg_attribute.atttypmod for type-specific information like
...
varchar length.
Cleans up code so attlen is always length.
Removed varchar() hack added earlier.
Will fix bug in selecting varchar() fields, and varchar() can be
variable length.
1998-01-16 23:21:07 +00:00
Bruce Momjian
763ff8aef8
Remove Query->qry_aggs and qry_numaggs and replace with Query->hasAggs.
...
Pass List* of Aggregs into executor, and create needed array there.
No longer need to double-processs Aggregs with second copy in Query.
Fix crash when doing:
select sum(x+1) from test where 1 > 0;
1998-01-15 19:00:16 +00:00
Bruce Momjian
660f458d3b
Clean up of copyfuncs.
1998-01-11 20:02:32 +00:00
Bruce Momjian
31a697bf92
Yohoo UNIONS of VIEWS.
1998-01-09 05:48:22 +00:00
Bruce Momjian
679d39b9c8
Goodbye ABORT. Hello ERROR for all errors.
1998-01-07 21:07:04 +00:00
Bruce Momjian
e9dc636e0c
Cleanup of outnodes.
1998-01-07 15:32:47 +00:00
Bruce Momjian
c01a56daf5
Fix for views and outnodes.
1998-01-07 08:08:08 +00:00
Bruce Momjian
56466049d6
Cleanup of outnode stuff.
1998-01-07 05:54:11 +00:00
Bruce Momjian
c9d9fe7690
Cleanup of outnode stuff.
1998-01-07 05:50:41 +00:00
Bruce Momjian
a552a894eb
Cleanup of outnode stuff.
1998-01-07 05:42:47 +00:00
Bruce Momjian
4557c846de
Cleanup of sort nodes and use of strtoul .
1998-01-06 23:19:49 +00:00
Bruce Momjian
9d00fbbeb0
Change some labels in bootparse to make ctags happy. Clean up outfunc/readfunc code and add missing fields for Query structure and new Union fields. Fix optimizer bug shown in new \do command. Change WARN to ERROR in contrib and regression stuff.
1998-01-06 18:53:02 +00:00
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:35:55 +00:00
Bruce Momjian
4b05912f0b
Fix for count(*), aggs with views and multiple tables and sum(3).
1998-01-04 04:31:43 +00:00
Bruce Momjian
4ce24c8aa9
UNION work for UNION ALL and other union stuff.
1997-12-27 06:41:41 +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
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
Bruce Momjian
e2aec508e2
Replace foo/bar to l1/l2.
1997-12-19 16:54:15 +00:00
Bruce Momjian
30856a3904
copy query cleanup.
1997-12-18 19:46:37 +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
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
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
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
Bruce Momjian
4a5b781d71
Break parser functions into smaller files, group together.
1997-11-25 22:07:18 +00:00
Bruce Momjian
e9e1ff226f
Remove all time travel stuff. Small parser cleanup.
1997-11-20 23:24:03 +00:00
Vadim B. Mikheev
32cd09ac6d
Good Bye, Time Travel!
1997-11-02 15:27:14 +00:00
Bruce Momjian
f3af1368bd
Rename strNcpy to StrNCpy, and change third parameter.
1997-10-25 01:10:58 +00:00
Vadim B. Mikheev
6c84398411
+ _copyGroup(Group *from)
1997-09-19 06:52:49 +00:00
Bruce Momjian
3f365ba0fc
Inline memset() as MemSet().
1997-09-18 20:22:58 +00:00
Bruce Momjian
b3b0f20412
Cleanup from patch applied.
1997-09-13 11:45:50 +00:00
Bruce Momjian
4213e44a0b
Fix for select null, "fail" from pg_am from Patrick van Kleef
1997-09-12 22:07:59 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
075cede748
Add typdefs to pgindent run.
1997-09-08 20:59:27 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Vadim B. Mikheev
0badb77e73
Fixed _copyRangeTblEntry
1997-09-04 13:24:01 +00:00
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
1997-08-19 21:40:56 +00:00
Bruce Momjian
b99c63cfc0
Now that names are null terminated, no need to do all that NAMEDATALEN stuff.
1997-08-18 20:53:48 +00:00
Bruce Momjian
ea5b5357cd
Remove more (void) and fix -Wall warnings.
1997-08-12 22:55:25 +00:00
Bruce Momjian
edb58721b8
Fix pgproc names over 15 chars in output. Add strNcpy() function. remove some (void) casts that are unnecessary.
1997-08-12 20:16:25 +00:00