Commit Graph

1651 Commits (fa4a4df93c8c28d5684cacb1677fbd13f58bb9f2)

Author SHA1 Message Date
Tom Lane 8fb61e0b54 Fix oversight in flattening of subqueries with empty FROM. 11 years ago
Tom Lane 7481c6c2aa Make entirely-dummy appendrels get marked as such in set_append_rel_size. 11 years ago
Andres Freund 13d0053f98 Check the relevant index element in ON CONFLICT unique index inference. 11 years ago
Andres Freund 29e4455d71 Allow to push down clauses from HAVING to WHERE when grouping sets are used. 11 years ago
Andres Freund 3500d1cc78 Recognize GROUPING() as a aggregate expression. 11 years ago
Andres Freund 65b86c1767 Build column mapping for grouping sets in all required cases. 11 years ago
Tom Lane 6fcb337fa5 Redesign tablesample method API, and do extensive code review. 11 years ago
Joe Conway 7d4240d6cd Make RLS work with UPDATE ... WHERE CURRENT OF 11 years ago
Tom Lane 41ae3b74d9 Fix add_rte_to_flat_rtable() for recent feature additions. 11 years ago
Magnus Hagander 095b8e158b Fix spelling error 11 years ago
Andres Freund 1884708e25 For consistency add a pfree to ON CONFLICT set_plan_refs code. 11 years ago
Heikki Linnakangas 7845db2aa7 Fix typo in comment 11 years ago
Robert Haas 5ca611841b Improve handling of CustomPath/CustomPlan(State) children. 11 years ago
Robert Haas 51d0fe5d56 Update get_relation_info comment. 11 years ago
Tom Lane 2cb9ec1bcb Improve inheritance_planner()'s performance for large inheritance sets. 11 years ago
Tom Lane 3b0f77601b Fix some questionable edge-case behaviors in add_path() and friends. 11 years ago
Tom Lane 3f59be836c Fix planner's cost estimation for SEMI/ANTI joins with inner indexscans. 11 years ago
Tom Lane 2aa0476dc3 Manual cleanup of pgindent results. 11 years ago
Bruce Momjian 807b9e0dff pgindent run for 9.5 11 years ago
Andres Freund 631d749007 Remove the new UPSERT command tag and use INSERT instead. 11 years ago
Tom Lane c5dd8ead40 More fixes for lossy-GiST-distance-functions patch. 11 years ago
Heikki Linnakangas 4fc72cc7bb Collection of typo fixes. 11 years ago
Andres Freund 0740cbd759 Refactor ON CONFLICT index inference parse tree representation. 11 years ago
Tom Lane 424661913c Fix failure to copy IndexScan.indexorderbyops in copyfuncs.c. 11 years ago
Andres Freund f3d3118532 Support GROUPING SETS, CUBE and ROLLUP. 11 years ago
Alvaro Herrera 26df7066cc Move strategy numbers to include/access/stratnum.h 11 years ago
Simon Riggs f6d208d6e5 TABLESAMPLE, SQL Standard and extensible 11 years ago
Heikki Linnakangas 35fcb1b3d0 Allow GiST distance function to return merely a lower-bound. 11 years ago
Andres Freund 4af6e61a36 Fix ON CONFLICT bugs that manifest when used in rules. 11 years ago
Tom Lane afb9249d06 Add support for doing late row locking in FDWs. 11 years ago
Tom Lane 1a8a4e5cde Code review for foreign/custom join pushdown patch. 11 years ago
Andres Freund bab64ef9e8 Fix two problems in infer_arbiter_indexes(). 11 years ago
Andres Freund 168d5805e4 Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. 11 years ago
Andres Freund 2c8f4836db Represent columns requiring insert and update privileges indentently. 11 years ago
Robert Haas e7cb7ee145 Allow FDWs and custom scan providers to replace joins with scans. 11 years ago
Stephen Frost dcbf5948e1 Improve qual pushdown for RLS and SB views 11 years ago
Andres Freund 2e3ca04e2e Also correct therefor to therefore. 11 years ago
Tom Lane 3cf8686014 Prevent improper reordering of antijoins vs. outer joins. 11 years ago
Tom Lane 70d44dd9de Fix obsolete comment in set_rel_size(). 11 years ago
Stephen Frost 0bf22e0c8b RLS fixes, new hooks, and new test module 11 years ago
Stephen Frost 4ccc5bd28e Pull in tableoid for inheiritance with rowMarks 11 years ago
Tom Lane ca6805338f Fix incorrect matching of subexpressions in outer-join plan nodes. 11 years ago
Heikki Linnakangas d04c8ed904 Add support for index-only scans in GiST. 11 years ago
Tom Lane cb1ca4d800 Allow foreign tables to participate in inheritance. 11 years ago
Tom Lane 7b8b8a4331 Improve representation of PlanRowMark. 11 years ago
Tom Lane f4abd0241d Support flattening of empty-FROM subqueries and one-row VALUES tables. 11 years ago
Tom Lane b746d0c32d Fix old bug in get_loop_count(). 11 years ago
Tom Lane b55722692b Improve planner's cost estimation in the presence of semijoins. 11 years ago
Robert Haas bc93ac12c2 Require non-NULL pstate for all addRangeTableEntryFor* functions. 11 years ago
Tom Lane 497bac7d29 Fix long-obsolete code for separating filter conditions in cost_index(). 11 years ago