| AuthorReported byBackported | Fix cross-partition source values in MERGE after a concurrent update. 19db7e5bcommitted by Dean Rasheed | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleased | Fix stale source values in MERGE RETURNING after a cross-partition update | Nov 23, 2026 |
| AuthorBackported | Fix stale source values in MERGE after a concurrent update. b291954ecommitted by Dean Rasheed | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleased | BUG #19912: MERGE NOT MATCHED BY SOURCE sees stale source values after concurrent update (EPQ) | Nov 21, 2026 |
| AuthorReported byBackported | Fix varnullingrels in MERGE into trigger-updatable view. 17550c8acommitted by Dean Rasheed | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleased | Wrong varnullingrels for MERGE into a trigger-updatable view | Nov 19, 2026 |
| AuthorReported byBackported | Fix transition tables for MERGE with cross-partition UPDATEs. 1e676702committed by Dean Rasheed | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleased | Bug in statement trigger for MERGE operations that move rows between partitionsMERGE loses UPDATE transition rows when moving rows between partitions | Nov 18, 2026 |
| AuthorReported byBackported | Fix MERGE into inheritance parent with extra child columns. 7fffb114committed by Dean Rasheed | masterunreleasedREL_19_STABLE19.0REL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleased | MERGE fails with RETURNING when an excluded inheritance parent has an extra-column child | Nov 12, 2026 |
| ReviewerBackported | Reject join input paths parameterized by pushed-down outer joins. f14a16c2committed by Tomas Vondra | masterunreleasedREL_19_STABLE19.0REL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleased | A gap in preventing bogus parameterizations in a798660ebe3 | Nov 11, 2026 |
| AuthorBackported | Fix MERGE into partitioned table with subquery in UPDATE targetlist. 7a5559a6committed by Dean Rasheed | masterunreleasedREL_19_STABLE19.0REL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleased | BUG #19802: MERGE into a partitioned table fails with "SubPlan found with no parent plan" | Nov 11, 2026 |
| Author | Remove unused parameters from self-join elimination functions 5681f0cfcommitted by Fujii Masao | masterunreleased | Remove unused arguments from split_selfjoin_quals() | Nov 02, 2026 |
| ReviewerBackported | Don't replace clone clauses with constant TRUE f4002899committed by Richard Guo | masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16 | BUG #19765: Wrong result from a chain of LEFT JOINs since v16 | Oct 29, 2026 |
| ReviewerBackported | Fix bogus outer-join commutation with lateral refs in PlaceHolderVars 7787aec8committed by Richard Guo | masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16 | Assert failure in standard_join_search() | Oct 17, 2026 |
| AuthorBackported | Simplify restriction matching in self-join elimination. 8f2b598bcommitted by Tom Lane | masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7 | Wrong results from self-join elimination with different restriction operators | Oct 15, 2026 |
| AuthorBackported | Fix self-join elimination to avoid inheritance scans. 89e06d78committed by Tom Lane | masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7 | Wrong results from self-join elimination with inheritance and ONLY | Oct 14, 2026 |
| ReviewerBackported | Disallow joins whose lateral references can never be satisfied b84ad0cdcommitted by Richard Guo | masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25 | "failed to build any N-way joins" from a five-relation query | Oct 14, 2026 |
| AuthorBackported | Fix concurrent delete handling in MERGE ... WHEN NOT MATCHED BY SOURCE. 85f55534committed by Dean Rasheed | masterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12 | wrong results: merge when not matched by source | Sep 23, 2026 |
| ReviewerBackported | Fix pruning of DEFAULT partition in RANGE partitioned tables b9d9e9bccommitted by David Rowley | masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25 | RANGE partition pruning can still exclude the default partition | Sep 18, 2026 |
| ReviewerBackported | Use the join collation when unique-ifying a semijoin's RHS d237a7a8committed by Alexander Korotkov | masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25 | BUG #19633: Unexpected results of IN (subquery) with a non-deterministic collation | Sep 16, 2026 |
| Reported byBackported | Fix stale copies of PHVs in subqueries e28cf96ecommitted by Richard Guo | masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16 | remove_useless_joins vs. bug #19560 | Sep 14, 2026 |
| ReviewerBackported | Fix duplicate qual clauses in parameterized paths f836b688committed by Richard Guo | masterunreleasedREL_19_STABLE19beta4 | Assert failure in try_nestloop_path() | Sep 07, 2026 |
| ReviewerBackported | Disallow joins whose lateral references need an unformable outer join 55fa1b06committed by Richard Guo | masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7 | Assert failure in try_nestloop_path() | Sep 04, 2026 |
| ReviewerReported byBackported | Fix qual pushdown past grouping through simple CASE 264ddc9acommitted by Richard Guo | masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7 | Unsafe qual pushdown through DISTINCT with simple CASE expressions | Sep 02, 2026 |
| Reported byBackported | Remove quals made redundant by reducing outer joins to antijoins ad4b80b6committed by Richard Guo | masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16 | remove_useless_joins vs. bug #19560 | Sep 02, 2026 |
| AuthorBackported | Propagate disabled_nodes to single-child Append paths de565944committed by Richard Guo | masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7 | [PATCH] Fix disabled_nodes propagation for single-child Append paths | Aug 28, 2026 |
| ReviewerBackported | Fix incorrect multi-column RANGE partition pruning 6e5d5680committed by David Rowley | masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25 | More partition pruning bugs with multi-column RANGE partitions | Aug 28, 2026 |
| Author | hstore: Rework module to use Size and {add,mul}_size for allocation sizes 92e20d4acommitted by Michael Paquier | masterunreleased | [BUG] hstore integer overflow when constructing large values | Aug 18, 2026 |
| ReviewerBackported | Fix nullability check for a sub-select's upper-level Vars 0d995793committed by Richard Guo | masterunreleasedREL_19_STABLE19beta3 | Wrong results: NOT IN to anti-join with an upper-level Var in the sub-select's output | Aug 03, 2026 |
| ReviewerBackported | Strip removed-relation references from PHVs in join clauses d68576bccommitted by Richard Guo | masterunreleasedREL_19_STABLE19beta3REL_18_STABLE18.6 | PlaceholderVars and join removal with appendrel parents | Jul 15, 2026 |
| ReviewerBackported | Prevent satisfies_hash_partition from crashing with VARIADIC NULL. e8914ec2committed by Robert Haas | masterunreleasedREL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24 | satisfies_hash_partition crash | Jul 06, 2026 |
| ReviewerBackported | Fix qual pushdown past grouping with mismatched equivalence 44fb59fccommitted by Richard Guo | masterunreleasedREL_19_STABLE19beta2REL_18_STABLE18.6 | Fix HAVING-to-WHERE pushdown with mismatched operator families | Jul 06, 2026 |
| ReviewerBackported | Strip removed-relation references from PlaceHolderVars at join removal 9a60f295committed by Richard Guo | master19beta2REL_19_STABLE19beta2REL_18_STABLE18.6 | assertion failure with unique index + partitioning + join | Jun 22, 2026 |
| Reviewer | Fix eager aggregation for semi/antijoin inner rels ffeda042committed by Richard Guo | master19beta2REL_19_STABLE19beta2 | Eager aggregation, take 3 | Jun 03, 2026 |
| ReviewerBackported | Fix wrong unsafe-flag test in check_output_expressions() ee2fa291committed by Richard Guo | master19beta2REL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19 | Wrong unsafe-flag test in check_output_expressions() | Jun 03, 2026 |
| Reviewer | Clean up remove_rel_from_query() after self-join elimination commit 20efbdffcommitted by Richard Guo | master19beta1REL_19_STABLE19beta1 | Clean up remove_rel_from_query() after self-join elimination commit | Apr 20, 2026 |
| AuthorBackported | Fix estimate_array_length error with set-operation array coercions 77d0e82ecommitted by Richard Guo | master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10 | pg17: XX000: no relation entry for relid 0 | Apr 11, 2026 |
| Reviewer | Fix var_is_nonnullable() to account for varreturningtype f6936bf9committed by Richard Guo | master19beta1REL_19_STABLE19beta1 | Bug: var_is_nonnullable() gives wrong results for old/new in RETURNING | Apr 10, 2026 |
| Reported by | Fix double-free in pg_stat_autovacuum_scores. 71ff232acommitted by Nathan Bossart | master19beta1REL_19_STABLE19beta1 | Fix "detected double pfree in PgStat Snapshot 0x557d9926b400" errorAdd pg_stat_autovacuum_priority | Apr 09, 2026 |
| ReviewerBackported | Fix integer overflow in nodeWindowAgg.c 8b6c89e3committed by Richard Guo | master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23 | BUG #19405: Assertion in eval_windowaggregates() fails due to integer overflow | Apr 09, 2026 |
| Reported byBackported | Fix datum_image_*()'s inability to detect sign-extension variations 0d866282committed by David Rowley | master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23 | Fix "could not find memoization table entry" | Mar 30, 2026 |
| Co-authorBackported | Fix self-join removal to update bare Var references in join clauses 07b7a964committed by Alexander Korotkov | master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4 | BUG #19435: Error: "No relation entry for relid 2" Triggered by Complex Join with Self-Referencing Tables | Mar 20, 2026 |
| Reported by | Fix new tuple deforming code so it can support cstrings again 07d5bffecommitted by David Rowley | master19beta1REL_19_STABLE19beta1 | More speedups for tuple deformation | Mar 20, 2026 |
| Reported by | Fix thinko in nocachegetattr() and nocache_index_getattr() 7a2ab122committed by David Rowley | master19beta1REL_19_STABLE19beta1 | More speedups for tuple deformation | Mar 16, 2026 |
| AuthorReported byBackported | Fix handling of updated tuples in the MERGE statement 17703734committed by Alexander Korotkov | master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18 | MERGE behavior with REPEATABLE READ isolation level | Mar 05, 2026 |
| Author | Reduce LEFT JOIN to ANTI JOIN using NOT NULL constraints cf74558fcommitted by Richard Guo | master19beta1REL_19_STABLE19beta1 | Planner : anti-join on left joins | Feb 12, 2026 |
| Reviewer | Teach planner to transform "x IS [NOT] DISTINCT FROM NULL" to a NullTest f41ab515committed by Richard Guo | master19beta1REL_19_STABLE19beta1 | Optimize IS DISTINCT FROM with non-nullable inputs | Feb 10, 2026 |
| Reviewer | Optimize BooleanTest with non-nullable input 0aaf0de7committed by Richard Guo | master19beta1REL_19_STABLE19beta1 | Optimize IS DISTINCT FROM with non-nullable inputs | Feb 10, 2026 |
| Reviewer | Optimize IS DISTINCT FROM with non-nullable inputs 0a379612committed by Richard Guo | master19beta1REL_19_STABLE19beta1 | Optimize IS DISTINCT FROM with non-nullable inputs | Feb 10, 2026 |
| ReviewerBackported | Fix bogus ctid requirement for dummy-root partitioned targets f9a468c6committed by Amit Langote | master19beta1REL_19_STABLE19beta1REL_18_STABLE18.2REL_17_STABLE17.8REL_16_STABLE16.12REL_15_STABLE15.16REL_14_STABLE14.21 | BUG #19099: Conditional DELETE from partitioned table with non-updatable partition raises internal error | Jan 23, 2026 |
| Author | Adjust errcode in checkPartition() d51a5d8ecommitted by Alexander Korotkov | master19beta1REL_19_STABLE19beta1 | Add SPLIT PARTITION/MERGE PARTITIONS commands | Jan 05, 2026 |