summaryrefslogtreecommitdiff
path: root/src/backend/nodes/makefuncs.c
Commit message (Collapse)AuthorAgeFilesLines
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-121-11/+10
|
* Carry column aliases from the parser frontend. Enables queries likeThomas G. Lockhart2000-02-151-1/+24
| | | | | | | 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.
* Further planner/optimizer cleanups. Move all set_tlist_referencesTom Lane1999-08-221-6/+10
| | | | | | | | | | and fix_opids processing to a single recursive pass over the plan tree executed at the very tail end of planning, rather than haphazardly here and there at different places. Now that tlist Vars do not get modified until the very end, it's possible to get rid of the klugy var_equal and match_varid partial-matching routines, and just use plain equal() throughout the optimizer. This is a step towards allowing merge and hash joins to be done on expressions instead of only Vars ...
* Major revision of sort-node handling: push knowledge of queryTom Lane1999-08-211-2/+5
| | | | | | | | | | | | | sort order down into planner, instead of handling it only at the very top level of the planner. This fixes many things. An explicit sort is now avoided if there is a cheaper alternative (typically an indexscan) not only for ORDER BY, but also for the internal sort of GROUP BY. It works even when there is no other reason (such as a WHERE condition) to consider the indexscan. It works for indexes on functions. It works for indexes on functions, backwards. It's just so cool... CAUTION: I have changed the representation of SortClause nodes, therefore THIS UPDATE BREAKS STORED RULES. You will need to initdb.
* Remove unused #includes in *.c files.Bruce Momjian1999-07-151-4/+1
|
* Change resjunk to a boolean.Bruce Momjian1999-05-171-2/+2
|
* Replaced targetlist entry in GroupClause by reference numberJan Wieck1999-05-121-1/+2
| | | | | | | in Resdom and GroupClause so changing of resno's doesn't confuse the grouping any more. Jan
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* Makefile removal of internal.c.Bruce Momjian1998-07-201-1/+2
|
* Cleanup makeTargetEntry and remove internal.c.Bruce Momjian1998-07-201-1/+15
|
* Change atttypmod from int16 to int32, for Thomas.Bruce Momjian1998-07-121-3/+3
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-5/+5
|
* Constlen can be -1, so make it a signed type.Bruce Momjian1998-02-211-2/+2
|
* Pass around typmod as int16.Bruce Momjian1998-02-101-3/+3
|
* Pass attypmod through to executor by adding to Var and Resdom.Bruce Momjian1998-02-101-3/+5
|
* Add Var.varlevelup to code. More parser cleanup.Bruce Momjian1998-01-201-1/+3
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-9/+9
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-70/+69
|
* Cast constants to the type of the other binary operand.Bruce Momjian1997-01-221-2/+4
| | | | Invalidate vacuum relation cache to use new row counts from vacuum.
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-091-0/+117