Commit Graph

2731 Commits (0c3930d0768943ad1dedb5a6ace250ce9b65915c)

Author SHA1 Message Date
David Rowley aa901a37cf Fix possible Assert failure in cost_memoize_rescan 2 years ago
Peter Geoghegan 6207f08f70 Harmonize function parameter names for Postgres 17. 2 years ago
Tom Lane 915de706d2 Fix infer_arbiter_indexes() to not assume resultRelation is 1. 2 years ago
Richard Guo 3cb19f45a3 Fix comment about cross-checking the varnullingrels 2 years ago
Alexander Korotkov 505c008ca3 Restore preprocess_groupclause() 2 years ago
Alexander Korotkov 0c1af2c35c Rename PathKeyInfo to GroupByOrdering 2 years ago
Alexander Korotkov 91143c03d4 Add invariants check to get_useful_group_keys_orderings() 2 years ago
Alexander Korotkov 199012a3d8 Fix asymmetry in setting EquivalenceClass.ec_sortref 2 years ago
David Rowley 7b71e5bbcc Fix some grammatical errors in some comments 2 years ago
Robert Haas c37267162e Fix generate_union_paths for non-sortable types. 2 years ago
Robert Haas 12933dc604 Re-allow planner to use Merge Append to efficiently implement UNION. 2 years ago
Tom Lane 7204f35919 Revert commit 66c0185a3 and follow-on patches. 2 years ago
Peter Eisentraut 8aee330af5 Revert temporal primary keys and foreign keys 2 years ago
Alvaro Herrera 6f8bb7c1e9
Revert structural changes to not-null constraints 2 years ago
Peter Eisentraut 144c2ce0cc Fix ON CONFLICT DO NOTHING/UPDATE for temporal indexes 2 years ago
Tom Lane c7be3c015b Make left-join removal safe under -DREALLOCATE_BITMAPSETS. 2 years ago
Tom Lane 6572bd55b0 Prevent RLS filters on ctid from breaking WHERE CURRENT OF <cursor>. 2 years ago
Tom Lane 07746a8ef2 Finish incomplete revert of ec63622c0. 2 years ago
Alexander Korotkov d1d286d83c Revert: Remove useless self-joins 2 years ago
David Rowley 7d2c7f08d9 Fix query pullup issue with WindowClause runCondition 2 years ago
Dean Rasheed 2e068db56e Use macro NUM_MERGE_MATCH_KINDS instead of '3' in MERGE code. 2 years ago
Daniel Gustafsson 950d4a2cb1 Fix typos and duplicate words 2 years ago
Tom Lane 03107b4eda Ensure generated join clauses for child rels have correct relids. 2 years ago
Tom Lane e0df80828a Fix type-checking of RECORD-returning functions in FROM, redux. 2 years ago
David Rowley b9ecefecc7 Fix recently introduced typo in code comment 2 years ago
David Rowley 3af7040985 Fix IS [NOT] NULL qual optimization for inheritance tables 2 years ago
Alexander Korotkov ff9f72c68f revert: Transform OR clauses to ANY expression 2 years ago
Alexander Korotkov beabea6c20 Fix usage of same ListCell transform_or_to_any()'s in nested loops 2 years ago
Alexander Korotkov 72bd38cc99 Transform OR clauses to ANY expression 2 years ago
Peter Geoghegan 5bf748b86b Enhance nbtree ScalarArrayOp execution. 2 years ago
David Rowley 7487044d6c Don't adjust ressortgroupref in generate_setop_child_grouplist() 2 years ago
David Rowley 3b1a7eb289 Don't zero tuple_fraction when planning UNIONs with ORDER BYs 2 years ago
David Rowley d5d2205c8d Fix assert failure when planning setop subqueries with CTEs 2 years ago
Dean Rasheed 0294df2f1f Add support for MERGE ... WHEN NOT MATCHED BY SOURCE. 2 years ago
Tom Lane be98a550cc Update comment in set_dummy_rel_pathlist(). 2 years ago
Tom Lane 9d00cf4772 Remove some redundant set_cheapest() calls. 2 years ago
Tom Lane a65724dfa7 Propagate pathkeys from CTEs up to the outer query. 2 years ago
Tom Lane c7076ba6ad Refactor predicate_{implied,refuted}_by_simple_clause. 2 years ago
Amit Langote 0f7863afef Code review for 6190d828cd 2 years ago
Amit Langote 6190d828cd Do not translate dummy SpecialJoinInfos for child joins 2 years ago
Amit Langote 5278d0a2e8 Reduce memory used by partitionwise joins 2 years ago
David Rowley 66c0185a3d Allow planner to use Merge Append to efficiently implement UNION 2 years ago
Amit Langote 6185c9737c Add SQL/JSON query functions 2 years ago
Tom Lane fd0398fcb0 Improve EXPLAIN's display of SubPlan nodes and output parameters. 2 years ago
Tom Lane b7e2121ab7 Postpone reparameterization of paths until create_plan(). 2 years ago
Dean Rasheed c649fa24a4 Add RETURNING support to MERGE. 2 years ago
David Rowley 4169850f0b Trim ORDER BY/DISTINCT aggregate pathkeys in gather_grouping_paths 2 years ago
Peter Eisentraut 97d85be365 Make the order of the header file includes consistent 2 years ago
Tom Lane 6ee3261e9b Fix confusion about the return rowtype of SQL-language procedures. 2 years ago
Michael Paquier 099ca50bd4 Revert "Fix parallel-safety check of expressions and predicate for index builds" 2 years ago