Bruce Momjian
9e964f90fb
Fix explain for union and inheritance. Rename Append structure
...
members to be clearer. Fix cost computation for these.
1998-07-15 14:54:39 +00:00
Bruce Momjian
3600fd320f
Major man page update from Tom Lane. c
1998-07-14 01:45:25 +00:00
Bruce Momjian
f99dcd6d15
Fix for AS name quotation problem.
1998-07-13 21:27:58 +00:00
Bruce Momjian
db82332bdc
Fix for views that use AS with two words.
1998-07-09 14:59:27 +00:00
Bruce Momjian
6bd323c6b3
Remove un-needed braces around single statements.
1998-06-15 19:30:31 +00:00
Thomas G. Lockhart
e6a854dc41
Add some more node print routines for debugging only
...
(inside of #ifdef PARSEDEBUG blocks).
1998-05-09 23:46:35 +00:00
Bruce Momjian
4fcd0d6371
FIx confusion over SORT and SORTCLAUSE in node handling.
1998-04-27 02:58:07 +00:00
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
1998-02-26 04:46:47 +00:00
Bruce Momjian
ec9e44ab7c
Add handling for new RangeTblEntry column name.
1998-02-21 18:17:58 +00:00
Bruce Momjian
856da1e65a
Constlen can be -1, so make it a signed type.
1998-02-21 16:58:49 +00:00
Vadim B. Mikheev
dc892fd390
Support for subselects.
...
(Have to re-visit readfuncs.c)
1998-02-13 03:27:47 +00:00
Bruce Momjian
0386a50f31
Pass around typmod as int16.
1998-02-10 16:04:38 +00:00
Bruce Momjian
2c482cdbf2
Pass attypmod through to executor by adding to Var and Resdom.
1998-02-10 04:02:59 +00:00
Marc G. Fournier
af32f4d5d3
Patch against src/backend/nodes/outfuncs.c.orig fixes backend crashes
...
when creating unique indexes.
From: James Hughes <jamesh@interpath.com>
1998-01-25 04:07:52 +00:00
Bruce Momjian
7f31669bea
Add Var.varlevelup to code. More parser cleanup.
1998-01-20 22:12:17 +00:00
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
e9dc636e0c
Cleanup of outnodes.
1998-01-07 15:32:47 +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
4ce24c8aa9
UNION work for UNION ALL and other union stuff.
1997-12-27 06:41:41 +00:00
Thomas G. Lockhart
12d5c30c8c
Add routines to print AExpr, Ident, and AConst parsing structures.
1997-12-23 19:50:54 +00:00
Bruce Momjian
6a45941f2f
Remove Existential, and ifdef out generate_fjoin. Neither did anything.
1997-12-18 12:54:45 +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
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
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
28a08fd4ac
I have this annoying habit (among others) of putting
...
%ud in a printf format strings instead of just %u.
There were three occurances of this in catalog_utils.c,
two in parser.c and one in rewriteSupport.c in the oid
patch that I submitted and was applied. They won't crash
anything, but the error messages will have a 'd' after the
Oid. Annoying, but none are db-threatening.
Sorry about that folks...I'll be more careful in the future...
Darren King
1996-12-26 17:47:42 +00:00
Bryan Henderson
7439ba64b1
Use "Oid" type where applicable and %ud instead of %d. Thanks Darren King.
1996-12-11 03:18:12 +00:00
Bruce Momjian
aaeef4d17d
All external function definitions now have prototypes that are checked.
1996-11-10 03:06:38 +00:00
Bruce Momjian
4b2b8592a0
Compile and warning cleanup
1996-11-08 06:02:30 +00:00
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
1996-07-09 06:22:35 +00:00