Filter:

Commits in 2025

Commits77 commits of which 25 backported
40Author
53Committer
22Reviewer3 as committer
7Reported by
3Co-author
CreditCommitBranchesThread(s)Committed
AuthorCommitterBackportedIgnore PlaceHolderVars when looking up statistics
559f9e90
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.2
GROUP BY ROLLUP queries on views trigger full table scans (index usage not optimized)Dec 29, 2025
AuthorCommitterBackportedStrip PlaceHolderVars from index operands
ad66f705
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.2
GROUP BY ROLLUP queries on views trigger full table scans (index usage not optimized)Dec 29, 2025
AuthorCommitterBackportedFix planner error with SRFs and grouping sets
325808ca
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.2
BUG #19353: Error XX000 if referencing expanded array in grouping set: variable not found in subplan target listDec 25, 2025
AuthorCommitterTeach expr_is_nonnullable() to handle more expression types
c8d2f68c
master19beta1REL_19_STABLE19beta1
Some optimizations for COALESCE expressions during constant foldingDec 24, 2025
AuthorCommitterOptimize ROW(...) IS [NOT] NULL using non-nullable fields
cb7b7ec7
master19beta1REL_19_STABLE19beta1
Some optimizations for COALESCE expressions during constant foldingDec 24, 2025
AuthorCommitterSimplify COALESCE expressions using non-nullable arguments
10c4fe07
master19beta1REL_19_STABLE19beta1
Some optimizations for COALESCE expressions during constant foldingDec 24, 2025
Co-authorImplement ALTER TABLE ... SPLIT PARTITION ... command
4b3d1736committed by Alexander Korotkov
master19beta1REL_19_STABLE19beta1
Add SPLIT PARTITION/MERGE PARTITIONS commandsDec 14, 2025
Co-authorImplement ALTER TABLE ... MERGE PARTITIONS ... command
f2e4cc42committed by Alexander Korotkov
master19beta1REL_19_STABLE19beta1
Add SPLIT PARTITION/MERGE PARTITIONS commandsDec 14, 2025
AuthorCommitterFix distinctness check for queries with grouping sets
f00484c1
master19beta1REL_19_STABLE19beta1
Issue with query_is_distinct_for() and grouping setsDec 09, 2025
AuthorCommitterFix const-simplification for index expressions and predicate
c925ad30
master19beta1REL_19_STABLE19beta1
BUG #19007: Planner fails to choose partial index with spurious 'not null'Dec 09, 2025
ReviewerDon't reset the pathlist of partitioned joinrels.
014f9a83committed by Robert Haas
master19beta1REL_19_STABLE19beta1
apply_scanjoin_target_to_paths and partitionwise joinDec 05, 2025
CommitterReviewercommitterBackportedFix typo in nodeHash.c
4d3f623e
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.2
Fix typos in ExecChooseHashTableSize()Nov 19, 2025
AuthorCommitterAvoid creating duplicate ordered append paths
0ea5eee3
master19beta1REL_19_STABLE19beta1
BUG #19102: Assertion failure in generate_orderedappend_paths with aggregate pushdownNov 05, 2025
AuthorCommitterBackportedFix assertion failure in generate_orderedappend_paths()
c1777f2d
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.1
BUG #19102: Assertion failure in generate_orderedappend_paths with aggregate pushdownNov 05, 2025
AuthorCommitterBackportedFix comments for ChangeVarNodes() and related functions
59dec6c0
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.1
Fix comments for ChangeVarNodes() and related functionsNov 05, 2025
AuthorCommitterBackportedDisable parallel plans for RIGHT_SEMI joins
257ee783
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.1
BUG #19094: select statement on postgres 17 vs postgres 18 is returning different/duplicate resultsOct 30, 2025
CommitterFix test case from 40c242830
ee49f2cf
REL_18_STABLE18.1
Inconsistent Behavior of GROUP BY ROLLUP in v17 vs masterOct 21, 2025
AuthorCommitterBackportedFix pushdown of degenerate HAVING clauses
18d26140
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.1
Inconsistent Behavior of GROUP BY ROLLUP in v17 vs masterOct 21, 2025
ReviewerTidyup truncate_useless_pathkeys() function
e3b9e446committed by David Rowley
master19beta1REL_19_STABLE19beta1
A tidyup of pathkeys.cOct 18, 2025
CommitterRename apply_at to apply_agg_at for clarity
1206df04
master19beta1REL_19_STABLE19beta1
Eager aggregation, take 3Oct 14, 2025
CommitterFix comment in eager_aggregate.sql
36fd8bde
master19beta1REL_19_STABLE19beta1
Eager aggregation, take 3Oct 09, 2025
CommitterRemove unnecessary include of "utils/fmgroids.h"
f997d777
master19beta1REL_19_STABLE19beta1
Eager aggregation, take 3Oct 09, 2025
AuthorCommitterImplement Eager Aggregation
8e118591
master19beta1REL_19_STABLE19beta1
Eager aggregation, take 3Oct 08, 2025
AuthorLLMCommitterAllow negative aggtransspace to indicate unbounded state size
185e3042
master19beta1REL_19_STABLE19beta1
Eager aggregation, take 3Oct 08, 2025
ReviewerAssign each subquery a unique name prior to planning it.
8c49a484committed by Robert Haas
master19beta1REL_19_STABLE19beta1
plan shape workOct 07, 2025
ReviewerBackportedFix reuse-after-free hazard in dead_items_reset
54ab7486committed by John Naylor
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.1REL_17_STABLE17.7
[Bug] Usage of stale dead_items pointer in parallel vacuumOct 03, 2025
CommitterReviewerFix incorrect function reference in comment
605bfb7d
master19beta1REL_19_STABLE19beta1
Fix incorrect function reference BufFileOpenShared in comment.Oct 03, 2025
ReviewerKeep track of what RTIs a Result node is scanning.
f2bae51dcommitted by Robert Haas
master19beta1REL_19_STABLE19beta1
plan shape workSep 23, 2025
CommitterReviewercommitterFix misleading comment in RangeTblEntry
e3a0304e
master19beta1REL_19_STABLE19beta1
[PATCH] Correct RangeTblEntry.join_using_alias comment to reflect field orderSep 22, 2025
CommitterCo-authorBackportedTreat JsonConstructorExpr as non-strict
b63a8224
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.0REL_17_STABLE17.7REL_16_STABLE16.11
BUG #19046: Incorrect result when using json_array() with column reference in subquery combined with RIGHT JOINSep 16, 2025
AuthorBackportedExpand virtual generated columns in constraint expressions
ce71993acommitted by Peter Eisentraut
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.0
expand virtual generated columns in get_relation_constraints()Sep 15, 2025
CommitterReviewerFix misuse of Relids for storing attribute numbers
2d756ebb
master19beta1REL_19_STABLE19beta1
Reduce "Var IS [NOT] NULL" quals during constant foldingSep 12, 2025
AuthorCommitterBackportedFix planner error when estimating SubPlan cost
aba8f61c
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.0REL_17_STABLE17.7REL_16_STABLE16.11REL_15_STABLE15.15REL_14_STABLE14.20REL_13_STABLE13.23
BUG #19037: Planner fails on estimating array length with "no relation entry" errorSep 03, 2025
AuthorCommitterFix const-simplification for constraints and stats
317c117d
master19beta1REL_19_STABLE19beta1
BUG #19007: Planner fails to choose partial index with spurious 'not null'Aug 30, 2025
ReviewerRemove unneeded casts of BufferGetPage() result
710e6c43committed by Peter Eisentraut
master19beta1REL_19_STABLE19beta1
Remove unneeded cast in heap_xlog_lock.Aug 29, 2025
AuthorCommitterBackportedFix semijoin unique-ification for child relations
97b0f36b
master19beta1REL_19_STABLE19beta1REL_18_STABLE18rc1
[BUG] Remove self joins causes 'variable not found in subplan target lists' errorAug 29, 2025
ReviewerBackportedFix "variable not found in subplan target lists" in semijoin de-duplication.
b8a1bdc4committed by Tom Lane
master19beta1REL_19_STABLE19beta1REL_18_STABLE18rc1
[BUG] Remove self joins causes 'variable not found in subplan target lists' errorAug 28, 2025
AuthorCommitterSimplify relation_has_unique_index_for()
bf9ee294
master19beta1REL_19_STABLE19beta1
Pathify RHS unique-ification for semijoin planningAug 19, 2025
AuthorCommitterPathify RHS unique-ification for semijoin planning
24225ad9
master19beta1REL_19_STABLE19beta1
Pathify RHS unique-ification for semijoin planningAug 19, 2025
ReviewerFix assorted pretty-trivial memory leaks in the backend.
e78d1d6dcommitted by Tom Lane
master19beta1REL_19_STABLE19beta1
Why our Valgrind reports suckAug 03, 2025
AuthorCommitterReduce "Var IS [NOT] NULL" quals during constant folding
e2debb64
master19beta1REL_19_STABLE19beta1
Reduce "Var IS [NOT] NULL" quals during constant foldingJul 22, 2025
AuthorCommitterCentralize collection of catalog info needed early in the planner
904f6a59
master19beta1REL_19_STABLE19beta1
Reduce "Var IS [NOT] NULL" quals during constant foldingJul 22, 2025
AuthorCommitterExpand virtual generated columns before sublink pull-up
e0d05295
master19beta1REL_19_STABLE19beta1
Reduce "Var IS [NOT] NULL" quals during constant foldingJul 22, 2025
AuthorCommitterConsider explicit incremental sort for Append and MergeAppend
55a780e9
master19beta1REL_19_STABLE19beta1
Consider explicit incremental sort for Append and MergeAppendJul 08, 2025
AuthorCommitterEnable use of Memoize for ANTI joins
0da29e4c
master19beta1REL_19_STABLE19beta1
Memoize ANTI and SEMI JOIN innerJul 03, 2025
ReviewerBackportedUpdate comment for IndexInfo.ii_NullsNotDistinct
18459583committed by Peter Eisentraut
master19beta1REL_19_STABLE19beta1REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14
Fix outdated comments for IndexInfoJul 01, 2025
ReviewerBackportedUpdate comment for IndexInfo.ii_WithoutOverlaps
7a7b3e11committed by Peter Eisentraut
master19beta1REL_19_STABLE19beta1REL_18_STABLE18beta2
Fix outdated comments for IndexInfoJul 01, 2025
ReviewerBackportedFix outdated comment for IndexInfo
9e5fee82committed by Peter Eisentraut
master19beta1REL_19_STABLE19beta1REL_18_STABLE18beta2REL_17_STABLE17.6
Fix outdated comments for IndexInfoJul 01, 2025
AuthorLLMCommitterExpand virtual generated columns for ALTER COLUMN TYPE
5069fef1
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
Virtual generated columnsJun 26, 2025
ReviewerBackportedFix assertion failure in pg_prewarm() on objects without storage.
3c4d7557committed by Fujii Masao
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6
Assertion failure in smgr.c when using pg_prewarm with partitioned tablesMay 29, 2025
AuthorCommitterBackportedFix Assert failure in XMLTABLE parser
fe29b2a1
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14
Assert failure in base_yyparseMay 15, 2025
AuthorCommitterAdd explicit initialization for all PlannerGlobal fields
2c0ed86d
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
Add explicit initialization for all PlannerGlobal fieldsMay 14, 2025
AuthorCommitterTrack the number of presorted outer pathkeys in MergePath
c06e909c
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
BUG #18902: TRAP:: failed Assert("!is_sorted") in File: "createplan.c"May 08, 2025
AuthorCommitterSuppress unnecessary explicit sorting for EPQ mergejoin path
773db222
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
BUG #18902: TRAP:: failed Assert("!is_sorted") in File: "createplan.c"May 08, 2025
Reported bydoc PG 18 relnotes: mention GROUP SET fixes
3bd52717committed by Bruce Momjian
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
PG 18 release notes draft committedMay 07, 2025
Reported byRefactor ChangeVarNodesExtended() using the custom callback
ab42d643committed by Alexander Korotkov
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
Some problems regarding the self-join elimination codeMay 07, 2025
Reported byRefactor ChangeVarNodesExtended() using the custom callback
250a718acommitted by Alexander Korotkov
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Some problems regarding the self-join elimination codeMay 03, 2025
Reported byFixes for ChangeVarNodes_walker()
2260c7f6committed by Alexander Korotkov
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Some problems regarding the self-join elimination codeApr 29, 2025
Reported byRestore comments in ChangeVarNodesExtended()
73e73613committed by Alexander Korotkov
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Some problems regarding the self-join elimination codeApr 28, 2025
ReviewerDisallow removing placeholders during Self-Join Elimination.
1aa7cf9ecommitted by Alexander Korotkov
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
No linked threadApr 27, 2025
Reported byBackportedAvoid ERROR at ON COMMIT DELETE ROWS after relhassubclass=f.
2d5350cfcommitted by Noah Misch
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5REL_16_STABLE16.9REL_15_STABLE15.13REL_14_STABLE14.18REL_13_STABLE13.21
ERROR: tuple to be updated was already modified by an operation triggered by the current commandApr 20, 2025
AuthorCommitterFix an incorrect check in get_memoize_path
3b35f9a4
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
An incorrect check in get_memoize_pathApr 16, 2025
CommitterReviewerRemove duplicated comment in get_relation_constraints
ea5d3f52
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
duplicated comments on get_relation_constraintsApr 03, 2025
Reported byFix crash if LockErrorCleanup() is called twice
51a0382ecommitted by Heikki Linnakangas
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
SIGSEGV in GrantLockLocal()BUG #18832: Segfault in GrantLockLocalLatches vs lwlock contentionMar 28, 2025
CommitterReviewerBackportedFix integer-overflow problem in scram_SaltedPassword()
7c82b4f7
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5REL_16_STABLE16.9
Fix infinite loop from setting scram_iterations to INT_MAXMar 26, 2025
AuthorCommitterFix incorrect handling of subquery pullup
cc5d9852
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Wrong results with subquery pullup and grouping setsMar 13, 2025
AuthorCommitterRemove code setting wrap_non_vars to true for UNION ALL subqueries
4c496117
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Wrong results with subquery pullup and grouping setsMar 13, 2025
AuthorCommitterBackportedAvoid NullTest deduction for clone clauses
716a051a
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5
Query result differences between PostgreSQL 17 vs 16Mar 04, 2025
AuthorCommitterEliminate code duplication in replace_rte_variables callbacks
363a6e8c
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Virtual generated columnsFeb 25, 2025
AuthorCommitterExpand virtual generated columns in the planner
1e4351af
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Virtual generated columnsFeb 25, 2025
CommitterReviewerBackportedFix unsafe access to BufferDescriptors
71d02dc4
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5REL_16_STABLE16.9REL_15_STABLE15.13REL_14_STABLE14.18REL_13_STABLE13.21
Unsafe access BufferDescriptors array in BufferGetLSNAtomic()Feb 19, 2025
AuthorCommitterBackportedFix freeing a child join's SpecialJoinInfo
c39392eb
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5
BUG #18806: When enable_rartitionwise_join is set to ON, the database shuts down abnormallyFeb 19, 2025
ReviewerUpdate outdated comments in nodeAgg.c.
a1f7f80bcommitted by Jeff Davis
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Fix outdated code comments in nodeAgg.cFeb 18, 2025
AuthorCommitterAdjust tuples estimate for appendrels
fbc0fe9a
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Adjust tuples estimate for appendrelsFeb 17, 2025
CommitterFix pgindent damage
6e826278
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
No linked threadJan 13, 2025
CommitterReviewercommitterRemove unused parameter in lookup_var_attr_stats
2f8b4007
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Remove unused rel parameter in lookup_var_attr_statsJan 07, 2025
AuthorCommitterBackportedIgnore nullingrels when looking up statistics
e28033fe
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3REL_16_STABLE16.7
ERROR: corrupt MVNDistinct entryJan 02, 2025