summaryrefslogtreecommitdiff
path: root/src/include/parser/parse_node.h
Commit message (Collapse)AuthorAgeFilesLines
* Repair list-vs-node confusion that resulted in failure for INNER JOIN ON.Tom Lane2000-05-121-5/+6
| | | | | Make it behave correctly when there are more than two tables being joined, also. Update regression test expected outputs.
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-121-6/+6
|
* Carry column aliases from the parser frontend. Enables queries likeThomas G. Lockhart2000-02-151-2/+9
| | | | | | | SELECT a FROM t1 tx (a); Allow join syntax, including queries like SELECT * FROM t1 NATURAL JOIN t2; Update RTE structure to hold column aliases in an Attr structure.
* Add:Bruce Momjian2000-01-261-2/+3
| | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
* Remove bogus code in oper_exact --- if it didn't find an exactTom Lane1999-08-231-1/+3
| | | | | | | | | match then it tried for a self-commutative operator with the reversed input data types. This is pretty silly; there could never be such an operator, except maybe in binary-compatible-type scenarios, and we have oper_inexact for that. Besides which, the oprsanity regress test would complain about such an operator. Remove nonfunctional code and simplify routine calling convention accordingly.
* Rewrite parser's handling of INSERT ... SELECT so that processingTom Lane1999-07-191-8/+6
| | | | | | | | | of the SELECT part of the statement is just like a plain SELECT. All INSERT-specific processing happens after the SELECT parsing is done. This eliminates many problems, e.g. INSERT ... SELECT ... GROUP BY using the wrong column labels. Ensure that DEFAULT clauses are coerced to the target column type, whether or not stored clause produces the right type. Substantial cleanup of parser's array support.
* Change #include's to use <> and "" as appropriate.Bruce Momjian1999-07-151-3/+3
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-151-5/+1
|
* Rip out QueryTreeList structure, root and branch. QuerytreeTom Lane1999-05-131-7/+1
| | | | | | | | | | lists are now plain old garden-variety Lists, allocated with palloc, rather than specialized expansible-array data allocated with malloc. This substantially simplifies their handling and eliminates several sources of memory leakage. Several basic types of erroneous queries (syntax error, attempt to insert a duplicate key into a unique index) now demonstrably leak zero bytes per query.
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-8/+5
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-9/+12
|
* Pass attypmod through to executor by adding to Var and Resdom.Bruce Momjian1998-02-101-2/+2
|
* Inline fastgetattr and others so data access does not use functionBruce Momjian1998-01-311-2/+1
| | | | calls.
* Add Var.varlevelup to code. More parser cleanup.Bruce Momjian1998-01-201-2/+3
|
* Create SubLink nodes in parser for Vadim.Bruce Momjian1998-01-191-2/+4
|
* Creates the SubLink structure, and the Query->hasSubLink field,Bruce Momjian1998-01-171-1/+2
| | | | | | | | with supporting code. Creates SubLink node in gram.y. psql.c patch for newatttypmod field.
* Remove Query->qry_aggs and qry_numaggs and replace with Query->hasAggs.Bruce Momjian1998-01-151-4/+3
| | | | | | | | | 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;
* Make parser functions static where possible.Bruce Momjian1997-11-261-6/+1
|
* Cleanup up include files.Bruce Momjian1997-11-261-16/+9
|
* Break parser functions into smaller files, group together.Bruce Momjian1997-11-251-0/+67