Filter:

Commits in 2026

Commits119 commits of which 85 backported
88Author
105Committer
23Reviewer1 as committer
4Reported by
3Co-author
CreditCommitBranchesThread(s)Committed
AuthorCommitterBackportedFix GROUP BY column removal for NULLS NOT DISTINCT indexes
48938780
masterunreleasedREL_19_STABLE19.0REL_18_STABLEunreleased
Wrong results from GROUP BY column removalNov 13, 2026
ReviewerBackportedReject 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 a798660ebe3Nov 11, 2026
Reported byBackportedFix indentation in 0b355d4277e
bc192c89committed by Fujii Masao
masterunreleasedREL_19_STABLE19.0REL_18_STABLEunreleased
No linked threadNov 11, 2026
AuthorCommitterBackportedFix stale initplans after removing a plan level in setrefs.c
9b80b317
masterunreleasedREL_19_STABLE19.0REL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleased
Wrong results with initplans moved by setrefs.cNov 11, 2026
Reported byBackportedFix indentation in 69b20fdd20d.
46ed1b83committed by Tatsuo Ishii
masterunreleasedREL_19_STABLE19rc2
No linked threadNov 06, 2026
AuthorCommitterBackportedFix mismatched PHVs for join alias Vars flattened more than once
f1e97a29
masterunreleasedREL_19_STABLE19rc2
ERROR: too late to create a new PlaceHolderInfoNov 06, 2026
CommitterReviewerBackportedFix NOT IN to anti-join conversion with coerced sub-select outputs
b7eee09e
masterunreleasedREL_19_STABLE19rc2
Incorrect NOT IN results with implicit casts returning NULL after anti-join optimizationNov 04, 2026
AuthorCommitterBackportedMake Memoize cache keys only of Params from outer query levels
45ff0b4a
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
bug: query returns different result with and without memoization.Nov 03, 2026
AuthorCommitterBackportedUpdate .abi-compliance-history for hashed SubPlan fix
9d0081c0
REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
Wrong results: hashed SubPlan referenced twice after OR-qual extraction reuses a stale hash table (13 to 19beta4)Nov 02, 2026
CommitterReviewerBackportedFix reuse of stale hash tables by duplicated hashed SubPlans
303c9b36
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
Wrong results: hashed SubPlan referenced twice after OR-qual extraction reuses a stale hash table (13 to 19beta4)Nov 02, 2026
AuthorCommitterMake cache keys of other Params a Memoize subplan depends on
f8da64e6
masterunreleased
bug: query returns different result with and without memoization.Nov 02, 2026
AuthorCommitterBackportedFix wrong results from Memoize with a Param inside a cache key
708eb515
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
bug: query returns different result with and without memoization.Nov 02, 2026
AuthorCommitterDon't require outer joins for lateral PHV references outside subqueries
77e5aeef
masterunreleased
ERROR: failed to assign all NestLoopParams to plan nodesOct 30, 2026
AuthorCommitterBackportedFix nestloop parameter assignment for PHVs evaluated above outer joins
c1c93037
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7
ERROR: failed to assign all NestLoopParams to plan nodesOct 30, 2026
CommitterReviewercommitterBackportedFix eager aggregation below volatile join clauses
27c84403
masterunreleasedREL_19_STABLE19rc2
[PG19] Eager aggregation runs a volatile join clause once per groupOct 29, 2026
AuthorCommitterBackportedDon't replace clone clauses with constant TRUE
f4002899
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
BUG #19765: Wrong result from a chain of LEFT JOINs since v16Oct 29, 2026
AuthorCommitterBackportedDon't build child-join EC members that reference outside rels
022a80fe
masterunreleasedREL_19_STABLE19rc2
Assert failure in try_nestloop_path()Oct 26, 2026
AuthorCommitterBackportedLook through wrapper paths when collecting enforced clause serials.
f9bc9651
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
Wrong results from a parameterized AppendOct 26, 2026
AuthorCommitterBackportedFix lateral references in sort keys added by createplan.c
6b9f40d4
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
Wrong results from a mergejoinOct 21, 2026
AuthorCommitterBackportedFix sorting a child rel by an expression containing a PlaceHolderVar
456ee180
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
"variable not found in subplan target lists" with partitionwise joinOct 21, 2026
AuthorCommitterBackportedDon't remove an RTE_RESULT needed by a nested PlaceHolderVar
3138f248
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
Assert failure in create_lateral_join_infoOct 19, 2026
AuthorCommitterBackportedFix bogus outer-join commutation with lateral refs in PlaceHolderVars
7787aec8
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
Assert failure in standard_join_search()Oct 17, 2026
AuthorCommitterBackportedFix skipping of join quals for appendrel children
23e7ca78
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
ERROR: failed to apply nullingrels to a non-VarOct 17, 2026
AuthorCommitterBackportedFix bogus Assert in find_var_for_subquery_tle
11b56ee2
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
Assert failure in find_var_for_subquery_tleOct 16, 2026
AuthorCommitterBackportedDon't use SubPlan-containing expressions for startup-time pruning
eacee6b6
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7
ERROR: SubPlan found with no parent planOct 14, 2026
AuthorCommitterBackportedDisallow joins whose lateral references can never be satisfied
b84ad0cd
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 queryOct 14, 2026
AuthorCommitterBackportedGive antijoins made from sublinks a relid
0d6103e5
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
Wrong results from an antijoinOct 14, 2026
AuthorCommitterBackportedFix expr_is_nonnullable() for IS DISTINCT FROM
f5635c27
masterunreleasedREL_19_STABLE19rc1
pgsql: Teach expr_is_nonnullable() to handle more expression typesOct 10, 2026
CommitterReviewerBackportedDon't trust NOT NULL on virtual generated columns of partitioned tables
d8444163
masterunreleasedREL_19_STABLE19rc1
[PG19] Wrong results from NOT NULL-based expression simplificationOct 10, 2026
AuthorCommitterBackportedPreserve typmod and collation when reducing an expression to its input
d8ce0050
masterunreleasedREL_19_STABLE19rc1
[PG19] Wrong results from NOT NULL-based expression simplificationOct 10, 2026
CommitterReviewerBackportedFix ON CONFLICT inference for index expressions simplified to a Var
62e46c00
masterunreleasedREL_19_STABLE19rc1
[PG19] Wrong results from NOT NULL-based expression simplificationOct 10, 2026
AuthorCommitterBackportedFix PlaceHolderVar placement for join alias expressions
738d19d4
masterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
ERROR: unsupported join alias expressionOct 07, 2026
AuthorCommitterBackportedFix parser failure with whole-row join alias Vars
372761e0
masterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
ERROR: unsupported join alias expressionOct 07, 2026
AuthorCommitterBackportedFlatten join alias Vars before rechecking subquery pullup safety
d4c15309
masterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
subquery pullup misses lateral refs in join alias VarsOct 06, 2026
CommitterReviewerBackportedDon't reprocess PHV copies within outer aggregates' arguments
6b858a36
masterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
remove_useless_joins vs. bug #19560Oct 06, 2026
AuthorCommitterBackportedFix sorting on extra grouping keys of child relations
8b29b8da
masterunreleasedREL_19_STABLE19rc1
issues with eager aggregationOct 05, 2026
AuthorCommitterBackportedDon't pass grouped relations to FDWs
58fca6bd
masterunreleasedREL_19_STABLE19rc1
issues with eager aggregationOct 05, 2026
AuthorCommitterBackportedFix eager aggregation grouping on cross-type join keys
d764d61a
masterunreleasedREL_19_STABLE19rc1
issues with eager aggregationOct 05, 2026
AuthorCommitterBackportedFix relids of EC-derived join clauses for lateral UNION ALL members
a464d31f
masterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
Assert failure in get_baserel_parampathinfo with lateral UNION ALLOct 05, 2026
AuthorCommitterBackportedFix join alias expansion in lateral TABLESAMPLE clauses
852fd5b8
masterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
ERROR: no relation entry for relid 3Oct 04, 2026
AuthorCommitterBackportedSet hasSubLinks when expanding a whole-row join alias reference
bfa1a69e
masterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
Unprocessed SubLink from whole-row join alias expansionOct 04, 2026
AuthorCommitterBackportedFix join removal when Vars reference the removed join via its alias
a8bb1a77
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
remove_useless_joins vs. bug #19560Sep 19, 2026
AuthorCommitterBackportedFix preprocessing of PHV copies pushed down into subqueries
bee81f78
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
remove_useless_joins vs. bug #19560Sep 19, 2026
ReviewerBackportedUse 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 collationSep 16, 2026
AuthorCommitterBackportedDon't let JSON constructor coercions block SQL function inlining
9d0adee8
masterunreleasedREL_19_STABLE19beta4
Wrong result from JSON constructor in a simple CASESep 14, 2026
AuthorCommitterBackportedFix const-folding of JSON constructors inside a simple CASE
e17df18a
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
Wrong result from JSON constructor in a simple CASESep 14, 2026
AuthorCommitterBackportedFix stale copies of PHVs in subqueries
e28cf96e
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
remove_useless_joins vs. bug #19560Sep 14, 2026
AuthorCommitterBackportedFix duplicate enforcement of EC-derived conditions
895c1b5f
masterunreleasedREL_19_STABLE19beta4
Assert failure in try_nestloop_path()Sep 10, 2026
AuthorCommitterBackportedFix more duplicate qual clauses in parameterized paths
8510bcc9
masterunreleasedREL_19_STABLE19beta4
Assert failure in try_nestloop_path()Sep 10, 2026
AuthorCommitterBackportedFix nestloop parameter handling for PlaceHolderVars in child joins
35d3f206
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
BUG #19653: "variable not found in subplan target list" during planning with parallel parameterized nested loop,Sep 08, 2026
AuthorCommitterBackportedFix duplicate qual clauses in parameterized paths
f836b688
masterunreleasedREL_19_STABLE19beta4
Assert failure in try_nestloop_path()Sep 07, 2026
AuthorCommitterBackportedDisallow joins whose lateral references need an unformable outer join
55fa1b06
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7
Assert failure in try_nestloop_path()Sep 04, 2026
AuthorCommitterBackportedFix qual pushdown past grouping through simple CASE
264ddc9a
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7
Unsafe qual pushdown through DISTINCT with simple CASE expressionsSep 02, 2026
AuthorCommitterBackportedFix OID-counter-sensitive row ordering in foreign_key test
262f2eea
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7
foreign_key test is sensitive to the OID counterSep 02, 2026
AuthorCommitterBackportedRemove quals made redundant by reducing outer joins to antijoins
ad4b80b6
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
remove_useless_joins vs. bug #19560Sep 02, 2026
ReviewerBackportedUpdate .abi-compliance-history for join removal fix.
434c1260committed by Tom Lane
REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
remove_useless_joins vs. bug #19560Aug 28, 2026
ReviewerBackportedPerform join removal by editing the query's jointree.
2ebf25e7committed by Tom Lane
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
remove_useless_joins vs. bug #19560Aug 28, 2026
CommitterReviewerBackportedPropagate disabled_nodes to single-child Append paths
de565944
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7
[PATCH] Fix disabled_nodes propagation for single-child Append pathsAug 28, 2026
AuthorCommitterFix CPU cost of right-semi and right-anti hash joins
db2d9932
masterunreleased
Fix CPU cost of right-semi and right-anti hash joinsAug 25, 2026
AuthorCommitterBackportedDon't assume DISTINCT ON implies uniqueness when the tlist has SRFs
1bf74c80
masterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
Wrong results from join removal with DISTINCT ON + SRF subqueryAug 25, 2026
AuthorCommitterCollect quals for outer-join reduction on demand
31c002aa
masterunreleased
Reduce LEFT/FULL JOIN to ANTI JOIN in more casesAug 21, 2026
AuthorCommitterRelax strictness detection for row-format IS NOT NULL tests
f863be3e
masterunreleased
Reduce LEFT/FULL JOIN to ANTI JOIN in more casesAug 19, 2026
AuthorCommitterReduce outer joins to anti joins for whole-row IS NULL tests
02119d6c
masterunreleased
Reduce LEFT/FULL JOIN to ANTI JOIN in more casesAug 19, 2026
AuthorCommitterReduce FULL JOIN to ANTI JOIN
2ce5a57b
masterunreleased
Reduce LEFT/FULL JOIN to ANTI JOIN in more casesAug 19, 2026
AuthorCommitterReduce LEFT JOIN to ANTI JOIN using quals within the RHS subtree
a812cf64
masterunreleased
Reduce LEFT/FULL JOIN to ANTI JOIN in more casesAug 19, 2026
CommitterReviewerBackportedFix nullability check for a sub-select's upper-level Vars
0d995793
masterunreleasedREL_19_STABLE19beta3
Wrong results: NOT IN to anti-join with an upper-level Var in the sub-select's outputAug 03, 2026
ReviewerBackportedDeparse FOR PORTION OF using the range column's current name.
7090c696committed by Tom Lane
masterunreleasedREL_19_STABLE19beta3
Fix missing FORMAT when deparsing JSON_ARRAY(query)Jul 27, 2026
CommitterReviewerBackportedFix deparsing of JSON_ARRAY(subquery) with a FORMAT clause
f4c850d1
masterunreleasedREL_19_STABLE19beta3
Fix missing FORMAT when deparsing JSON_ARRAY(query)Jul 27, 2026
AuthorCommitterBackportedSkip unnecessary get_relids_in_jointree() when there are no PHVs
0da71d90
masterunreleasedREL_19_STABLE19beta3REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15
BUG #19553: Wrong results from nested LEFT JOINs over an empty subquery (regression since v16)Jul 20, 2026
Co-authorBackportedFix edge case in remove_useless_result_rtes() with outer joins.
1df9e8d9committed by Tom Lane
masterunreleasedREL_19_STABLE19beta3REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15
BUG #19553: Wrong results from nested LEFT JOINs over an empty subquery (regression since v16)Jul 18, 2026
CommitterReviewerBackportedStrip removed-relation references from PHVs in join clauses
d68576bc
masterunreleasedREL_19_STABLE19beta3REL_18_STABLE18.6
PlaceholderVars and join removal with appendrel parentsJul 15, 2026
CommitterCo-authorAdd an enable_groupagg GUC parameter
e01b23b8
masterunreleased
Add enable_groupagg GUC parameter to control GroupAggregate usageJul 09, 2026
AuthorCommitterTighten nullingrels checks for outer joins
4721430f
masterunreleased
Use exact nullingrels matches for NestLoopParamsJul 08, 2026
AuthorCommitterRemove nrm_match parameter from fix_upper_expr
3b099105
masterunreleased
Use exact nullingrels matches for NestLoopParamsJul 08, 2026
AuthorCommitterUse exact nullingrels matches for NestLoopParams
9dce6b5a
masterunreleased
Use exact nullingrels matches for NestLoopParamsJul 08, 2026
AuthorCommitterPropagate stadistinct through GROUP BY/DISTINCT in subqueries and CTEs
906b1e4a
masterunreleased
Propagate stadistinct through GROUP BY/DISTINCT in subqueries and CTEsJul 08, 2026
AuthorCommitterBackportedFix EXPLAIN failure when deparsing SQL/JSON aggregates
96ab9a99
masterunreleasedREL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15
EXPLAIN (VERBOSE) fails with for JSON_ARRAYAGG/JSON_OBJECTAGG + window functionJul 07, 2026
ReviewerBackportedFix COUNT's logic for window run condition support
d007800fcommitted by David Rowley
masterunreleasedREL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19
BUG #19533: Wrong results from WindowAgg run-condition pushdown on count() with EXCLUDE CURRENT ROWJul 07, 2026
AuthorCommitterBackportedFix qual pushdown past grouping with mismatched equivalence
44fb59fc
masterunreleasedREL_19_STABLE19beta2REL_18_STABLE18.6
Fix HAVING-to-WHERE pushdown with mismatched operator familiesJul 06, 2026
CommitterBackportedpgindent fix for commit 53e6f51ee
a5422fe3
masterunreleasedREL_19_STABLE19beta2
No linked threadJul 03, 2026
AuthorCommitterImprove UNION's output row count estimate
be69a5ff
masterunreleased
Improve UNION's output rowcount estimateJul 01, 2026
CommitterUse plpythonu in plpython tests added by commit 0b7719f74
309dc452
REL_14_STABLE14.24
No linked threadJun 29, 2026
AuthorCommitterBackportedplpython: Fix NULL pointer dereferences for broken sequence and mapping objects
8612f0b7
master19beta2REL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
plpython: NULL pointer dereference on broken sequence objectsJun 29, 2026
CommitterReviewerBackportedplperl: Fix NULL pointer dereference for forged array object
4015abe1
master19beta2REL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
[PATCH v1] PL/Perl: Fix NULL deref for forged arrayJun 24, 2026
AuthorCommitterBackportedStrip removed-relation references from PlaceHolderVars at join removal
9a60f295
master19beta2REL_19_STABLE19beta2REL_18_STABLE18.6
assertion failure with unique index + partitioning + joinJun 22, 2026
AuthorCommitterFix eager aggregation for semi/antijoin inner rels
ffeda042
master19beta2REL_19_STABLE19beta2
Eager aggregation, take 3Jun 03, 2026
AuthorCommitterBackportedFix wrong unsafe-flag test in check_output_expressions()
ee2fa291
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
AuthorCommitterEnforce RETURNING typmod for empty-set JSON_ARRAY(query)
9d124a14
master19beta1REL_19_STABLE19beta1
BUG #19418: SQL/JSON JSON_VALUE() does not conform to ISO/IEC 9075-2:2023(E) 6.34 <JSON value constructor>May 08, 2026
AuthorCommitterBackportedConsider opfamily and collation when removing redundant GROUP BY columns
a1b75455
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
Wrong results in remove_useless_groupby_columns()May 08, 2026
CommitterReviewerBackportedFix HAVING-to-WHERE pushdown for simple-CASE form
ba82de48
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
Fix HAVING-to-WHERE pushdown with nondeterministic collationsMay 08, 2026
AuthorCommitterBackportedConsider collation when proving subquery uniqueness
574581b5
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23
Wrong results from inner-unique joins caused by collation mismatchMay 05, 2026
AuthorCommitterBackportedConsider collation when proving uniqueness from unique indexes
5a55ea50
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23
Wrong results from inner-unique joins caused by collation mismatchMay 05, 2026
AuthorCommitterBackportedFix HAVING-to-WHERE pushdown with nondeterministic collations
f76686ce
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
Fix HAVING-to-WHERE pushdown with nondeterministic collationsMay 01, 2026
AuthorCommitterFix JSON_ARRAY(query) empty set handling and view deparsing
8d829f5a
master19beta1REL_19_STABLE19beta1
BUG #19418: SQL/JSON JSON_VALUE() does not conform to ISO/IEC 9075-2:2023(E) 6.34 <JSON value constructor>May 01, 2026
AuthorCommitterFix bogus calls in remove_self_join_rel()
c66d6d19
master19beta1REL_19_STABLE19beta1
The bogus calls in remove_self_join_rel()Apr 27, 2026
AuthorCommitterBackportedFix incorrect NEW references to generated columns in rule rewriting
c6a79be3
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23
Bug: Rule actions see wrong values for generated columns (NEW.gen reads OLD value)Apr 21, 2026
ReviewerBackportedClean up all relid fields of RestrictInfos during join removal.
cfcd5711committed by Tom Lane
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14
BUG #19460: FULL JOIN rewriting issue on empty queriesApr 20, 2026
AuthorCommitterClean up remove_rel_from_query() after self-join elimination commit
20efbdff
master19beta1REL_19_STABLE19beta1
Clean up remove_rel_from_query() after self-join elimination commitApr 20, 2026
AuthorReported bydoc PG 19 relnotes: add author and move items
191a037dcommitted by Bruce Momjian
master19beta1REL_19_STABLE19beta1
First draft of PG 19 release notesApr 16, 2026
AuthorCommitterFix var_is_nonnullable() to handle invalid NOT NULL constraints
363af93b
master19beta1REL_19_STABLE19beta1
var_is_nonnullable() fails to handle invalid NOT NULL constraintsApr 15, 2026
CommitterReviewerBackportedFix estimate_array_length error with set-operation array coercions
77d0e82e
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10
pg17: XX000: no relation entry for relid 0Apr 11, 2026
CommitterReviewerFix var_is_nonnullable() to account for varreturningtype
f6936bf9
master19beta1REL_19_STABLE19beta1
Bug: var_is_nonnullable() gives wrong results for old/new in RETURNINGApr 10, 2026
AuthorCommitterBackportedFix integer overflow in nodeWindowAgg.c
8b6c89e3
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 overflowApr 09, 2026
AuthorCommitterBackportedStrip PlaceHolderVars from partition pruning operands
c1408956
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
Potential partition pruning regression on PostgreSQL 18Apr 09, 2026
AuthorCommitterFix volatile function evaluation in eager aggregation
3a08a2a8
master19beta1REL_19_STABLE19beta1
Eager aggregation, take 3Apr 06, 2026
AuthorCommitterFix collation handling for grouping keys in eager aggregation
bd94845e
master19beta1REL_19_STABLE19beta1
Eager aggregation, take 3Apr 06, 2026
AuthorCommitterConvert NOT IN sublinks to anti-joins when safe
383eb21e
master19beta1REL_19_STABLE19beta1
Convert NOT IN sublinks to anti-joins when safeMar 12, 2026
AuthorCommitterRemove redundant restriction checks in apply_child_basequals
1f4f87d7
master19beta1REL_19_STABLE19beta1
Redundant restriction checks in apply_child_basequalsMar 04, 2026
AuthorCommitterRemove obsolete SAMESIGN macro
ce1c17a3
master19beta1REL_19_STABLE19beta1
Remove obsolete SAMESIGN macroMar 04, 2026
ReviewerBackportedDon't flatten join alias Vars that are stored within a GROUP RTE.
98616ac1committed by Tom Lane
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
pg_get_viewdef() produces non-round-trippable SQL for views with USING join on mismatched integer typesFeb 27, 2026
AuthorCommitterBackportedFix unsafe RTE_GROUP removal in simplify_EXISTS_query
77c7a17a
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
Wrong results with grouping setsFeb 25, 2026
AuthorCommitterBackportedFix computation of varnullingrels when translating appendrel Var
691977d3
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.3REL_17_STABLE17.9REL_16_STABLE16.13
BUG #19412: Wrong query result with not null constraintFeb 20, 2026
ReviewerFix add_partial_path interaction with disabled_nodes
6e466e1ecommitted by Robert Haas
master19beta1REL_19_STABLE19beta1
Consider low startup cost in add_partial_pathFeb 19, 2026
CommitterCo-authorReduce LEFT JOIN to ANTI JOIN using NOT NULL constraints
cf74558f
master19beta1REL_19_STABLE19beta1
Planner : anti-join on left joinsFeb 12, 2026
AuthorCommitterTeach planner to transform "x IS [NOT] DISTINCT FROM NULL" to a NullTest
f41ab515
master19beta1REL_19_STABLE19beta1
Optimize IS DISTINCT FROM with non-nullable inputsFeb 10, 2026
AuthorCommitterOptimize BooleanTest with non-nullable input
0aaf0de7
master19beta1REL_19_STABLE19beta1
Optimize IS DISTINCT FROM with non-nullable inputsFeb 10, 2026
AuthorCommitterOptimize IS DISTINCT FROM with non-nullable inputs
0a379612
master19beta1REL_19_STABLE19beta1
Optimize IS DISTINCT FROM with non-nullable inputsFeb 10, 2026
Reported byFix mistakes in commit 4020b370f214315b8c10430301898ac21658143f
71c11369committed by Robert Haas
master19beta1REL_19_STABLE19beta1
pg_plan_advicepgsql: Allow for plugin control over path generation strategies.Jan 29, 2026
AuthorCommitterBackportedFix unsafe pushdown of quals referencing grouping Vars
34740b90
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.2
pg18 bug? SELECT query doesn't workJan 19, 2026