Tom Lane
db436adf76
Major revision of sort-node handling: push knowledge of query
...
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.
1999-08-21 03:49:17 +00:00
Bruce Momjian
2e6b1e63a3
Remove unused #includes in *.c files.
1999-07-15 22:40:16 +00:00
Bruce Momjian
585c967720
Change resjunk to a boolean.
1999-05-17 17:03:51 +00:00
Jan Wieck
79c2576f77
Replaced targetlist entry in GroupClause by reference number
...
in Resdom and GroupClause so changing of resno's doesn't confuse
the grouping any more.
Jan
1999-05-12 15:02:39 +00:00
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
1999-02-13 23:22:53 +00:00
Bruce Momjian
61700b4089
Makefile removal of internal.c.
1998-07-20 20:01:48 +00:00
Bruce Momjian
3dd2eabc53
Cleanup makeTargetEntry and remove internal.c.
1998-07-20 19:53:53 +00:00
Bruce Momjian
683f399391
Change atttypmod from int16 to int32, for Thomas.
1998-07-12 21:29:40 +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
856da1e65a
Constlen can be -1, so make it a signed type.
1998-02-21 16:58:49 +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
Bruce Momjian
7f31669bea
Add Var.varlevelup to code. More parser cleanup.
1998-01-20 22:12:17 +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
84876289cc
Cast constants to the type of the other binary operand.
...
Invalidate vacuum relation cache to use new row counts from vacuum.
1997-01-22 01:44:02 +00:00
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
1996-07-09 06:22:35 +00:00