Filter:

Commits in 2024

Commits82 commits of which 12 backported
51Author
31Committer
22Reviewer3 as committer
13Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
ReviewerReported byFix overflow danger in SampleHeapTupleVisible(), take 2
94bb6c44committed by Melanie Plageman
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Can rs_cindex be < 0 for bitmap heap scans?Dec 20, 2024
AuthorReported byFix bitmap table scan crash on iterator release
754c610ecommitted by Melanie Plageman
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
BitmapHeapScan streaming read user and prelim refactoringDec 19, 2024
Reported byBackportedFix Assert failure in WITH RECURSIVE UNION queries
8f4ee962committed by David Rowley
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3REL_16_STABLE16.7REL_15_STABLE15.11REL_14_STABLE14.16REL_13_STABLE13.19
Pg18 Recursive CrashDec 19, 2024
AuthorCommitterAvoid unnecessary wrapping for more complex expressions
60be3f9f
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Avoid unnecessary wrapping for more complex expressionsDec 17, 2024
AuthorCommitterImprove the test case from 5668a857d
d8f33515
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Wrong results with right-semi-joinsDec 12, 2024
AuthorCommitterAvoid unnecessary wrapping for Vars and PHVs
f64ec81a
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
An inefficient query caused by unnecessary PlaceHolderVarDec 09, 2024
AuthorCommitterFix right-semi-joins in HashJoin rescans
5668a857
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Wrong results with right-semi-joinsDec 09, 2024
Reported byFix typo in header comment for set_operation_ordered_results_useful
b6612aedcommitted by David Rowley
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Converting SetOp to read its two inputs separatelyNov 29, 2024
CommitterFix test case from a8ccf4e93
e15e5671
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Reordering DISTINCT keys to match input path's pathkeysNov 26, 2024
AuthorCommitterRemove dead code in get_param_path_clause_serials()
cc4c90ce
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Some dead code in get_param_path_clause_serials()Nov 26, 2024
AuthorCommitterReordering DISTINCT keys to match input path's pathkeys
a8ccf4e9
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Reordering DISTINCT keys to match input path's pathkeysNov 26, 2024
Reported byRemove the wrong assertion from match_orclause_to_indexcol()
d4d11940committed by Alexander Korotkov
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
POC, WIP: OR-clause support for indexesNov 25, 2024
AuthorCommitterBackportedFix inconsistent RestrictInfo serial numbers
f00ab1fd
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.1
Inconsistent RestrictInfo serial numbersNov 08, 2024
AuthorCommitterRemove the RTE_GROUP RTE if we drop the groupClause
ffe12d1d
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Wrong results with grouping setsOct 25, 2024
AuthorCommitterAllow pushdown of HAVING clauses with grouping sets
67a54b9e
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Allow pushdown of HAVING clauses with grouping setsOct 09, 2024
AuthorCommitterConsider explicit incremental sort for mergejoins
828e94c9
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Why don't we consider explicit Incremental Sort?Oct 09, 2024
AuthorCommitterMark expressions nullable by grouping sets
f5050f79
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Wrong results with grouping setsSep 10, 2024
AuthorCommitterIntroduce an RTE for the grouping step
247dea89
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Wrong results with grouping setsSep 10, 2024
CommitterReviewercommitterFix order of parameters in a cost_sort call
87b6c3c0
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
On disable_costSep 09, 2024
AuthorCommitterAvoid unnecessary post-sort projection
9626068f
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Redundant Result nodeSep 04, 2024
AuthorCommitterCheck the validity of commutators for merge/hash clauses
4f112454
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Inconsistency between try_mergejoin_path and create_mergejoin_planSep 04, 2024
CommitterReviewercommitterSmall code simplification
9bb842f9
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Small code simplificationAug 22, 2024
AuthorCommitterFix partitionwise join with partially-redundant join clauses
9b282a93
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
A problem about partitionwise joinJul 30, 2024
AuthorCommitterRefactor the checks for parameterized partial paths
2309eff6
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Trivial revise for the check of parameterized partial pathsJul 30, 2024
AuthorCommitterShort-circuit sort_inner_and_outer if there are no mergejoin clauses
cc9daa09
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Short-circuit sort_inner_and_outer if there are no mergejoin clausesJul 30, 2024
CommitterReviewerReduce memory used by partitionwise joins
513f4472
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Assert failure on bms_equal(child_joinrel->relids, child_joinrelids)Jul 29, 2024
AuthorCommitterSimplify create_merge_append_path for clarity
f47b33a1
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Simplify create_merge_append_path a bit for clarityJul 29, 2024
AuthorCommitterRemove redundant code in create_gather_merge_path
8b2e9fd2
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Redundant code in create_gather_merge_pathJul 23, 2024
CommitterReviewerFix rowcount estimate for gather (merge) paths
581df214
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Possible incorrect row estimation for Gather pathsJul 23, 2024
AuthorCommitterFix unstable test in select_parallel.sql
7e187a73
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Should consider materializing the cheapest inner path in consider_parallel_nestloop()Jul 22, 2024
AuthorCommitterCheck lateral references within PHVs for memoize cache keys
069d0ff0
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Check lateral references within PHVs for memoize cache keysJul 15, 2024
CommitterReviewerConsider materializing the cheapest inner path in parallel nestloop
22d946b0
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Should consider materializing the cheapest inner path in consider_parallel_nestloop()Jul 12, 2024
CommitterReviewercommitterRemove an extra period in code comment
d7db04df
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
report a typo in comments of ComputeXidHorizonsResultJul 08, 2024
AuthorCommitterBackportedFix right-anti-joins when the inner relation is proven unique
0ffc0aca
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17beta3REL_16_STABLE16.4
BUG #18522: Wrong results with Merge Right Anti Join, inconsistent with Merge Anti JoinJul 08, 2024
AuthorCommitterSupport "Right Semi Join" plan shapes
aa86129e
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Support "Right Semi Join" plan shapesJul 05, 2024
ReviewerBackportedFix possible Assert failure in cost_memoize_rescan
aa901a37committed by David Rowley
master17beta2REL_19_STABLE17beta2REL_18_STABLE17beta2REL_17_STABLE17beta2REL_16_STABLE16.4REL_15_STABLE15.8REL_14_STABLE14.13
assertion failure at cost_memoize_rescan()Jun 18, 2024
AuthorCommitterFix comment about cross-checking the varnullingrels
3cb19f45
master17beta2REL_19_STABLE17beta2REL_18_STABLE17beta2REL_17_STABLE17beta2
A wrong comment about search_indexed_tlist_for_varJun 10, 2024
Reported byMake two-phase tests of ECPG and main suite more concurrent-proof
7e61e4cccommitted by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
A failure in prepared_xacts testApr 29, 2024
Reported byRemove overzealous array element type assertion.
eff6a757committed by Peter Geoghegan
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Assert failure in _bt_preprocess_array_keysApr 22, 2024
AuthorGrammar fixes for split/merge partitions code
9dfcac8ecommitted by Alexander Korotkov
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Revise some error messages in split partition codeAdd SPLIT PARTITION/MERGE PARTITIONS commandsApr 15, 2024
AuthorLLMReported byFix recently introduced typo in code comment
b9ecefeccommitted by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Incorrect handling of IS [NOT] NULL quals on inheritance parentsApr 12, 2024
AuthorFix IS [NOT] NULL qual optimization for inheritance tables
3af70409committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Incorrect handling of IS [NOT] NULL quals on inheritance parentsApr 12, 2024
AuthorRemove superfluous trailing semicolons
a96a8b15committed by Daniel Gustafsson
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Remove excessive trailing semicolonsMar 29, 2024
AuthorLLMRemove some redundant set_cheapest() calls.
9d00cf47committed by Tom Lane
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Remove some redundant set_cheapest() callsMar 26, 2024
AuthorLLMPropagate pathkeys from CTEs up to the outer query.
a65724dfcommitted by Tom Lane
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Propagate pathkeys from CTEs up to the outer queryMar 26, 2024
AuthorReported byCode review for 6190d828cd2
0f7863afcommitted by Amit Langote
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Memory consumed by child SpecialJoinInfo in partitionwise join planningMar 25, 2024
Reported byreindexdb: Fix warning about uninitialized indices_tables_cell
cc0e7ebdcommitted by Alexander Korotkov
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Add Index-level REINDEX with multiple jobspgsql: reindexdb: Add the index-level REINDEX with multiple jobsMar 25, 2024
ReviewerDo not translate dummy SpecialJoinInfos for child joins
6190d828committed by Amit Langote
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Memory consumed by child SpecialJoinInfo in partitionwise join planningMar 25, 2024
ReviewerReduce memory used by partitionwise joins
5278d0a2committed by Amit Langote
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Memory consumed by child SpecialJoinInfo in partitionwise join planningMar 25, 2024
ReviewerAllow planner to use Merge Append to efficiently implement UNION
66c0185acommitted by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Properly pathify the union plannerMar 25, 2024
AuthorLLMPostpone reparameterization of paths until create_plan().
b7e2121acommitted by Tom Lane
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Oversight in reparameterize_path_by_child leading to executor crashMar 19, 2024
AuthorMake the order of the header file includes consistent
97d85be3committed by Peter Eisentraut
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Regarding the order of the header file includesMar 13, 2024
ReviewerBackportedFix incorrect accessing of pfree'd memory in Memoize
e6298464committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3REL_15_STABLE15.7REL_14_STABLE14.12
"type with xxxx does not exist" when doing ExecMemoize()Mar 11, 2024
ReviewerBackportedFix deparsing of Consts in postgres_fdw ORDER BY
c399248bcommitted by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3REL_15_STABLE15.7REL_14_STABLE14.12REL_13_STABLE13.15+1 more
Invalid query generated by postgres_fdw with UNION ALL and ORDER BYBUG #18381: Invalid query generated by postgres_fdw with UNION ALL and ORDER BYMar 10, 2024
AuthorRemove surplus trailing semicolon
2bce0ad6committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Get rid of the excess semicolon in planner.cMar 05, 2024
Reported byFix references to renamed function in comments
ef4cfdcecommitted by Heikki Linnakangas
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Refactoring backend fork+exec codeMar 05, 2024
ReviewerBackportedFix incorrectly reported stats kind in "can't happen" ERROR
a37a3e2bcommitted by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3REL_15_STABLE15.7REL_14_STABLE14.12REL_13_STABLE13.15+1 more
BUG #18375: requested statistics kind "f" is not yet built for statistics object 16722Mar 05, 2024
AuthorMultiple revisions to the GROUP BY reordering tests
874d817bcommitted by Alexander Korotkov
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
POC: GROUP BY optimizationFeb 23, 2024
AuthorReplace lateral references to removed rels in subqueries
466979efcommitted by Alexander Korotkov
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Removing unneeded self joinsFeb 23, 2024
ReviewerPull up ANY-SUBLINK with the necessary lateral support.
9f133763committed by Alexander Korotkov
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
No linked threadFeb 15, 2024
AuthorAdjust reltarget assignment for UPPERREL_PARTIAL_DISTINCT rel
902900b3committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
An improvement on parallel DISTINCTFeb 07, 2024
AuthorAllow Gather Merge in more cases for parallel DISTINCT
7e0ade0fcommitted by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
An improvement on parallel DISTINCTFeb 02, 2024
AuthorLLMBackportedApply band-aid fix for an oversight in reparameterize_path_by_child.
2e822a1dcommitted by Tom Lane
REL_16_STABLE16.2REL_15_STABLE15.6REL_14_STABLE14.11REL_13_STABLE13.14REL_12_STABLE12.18
Oversight in reparameterize_path_by_child leading to executor crashFeb 01, 2024
AuthorConsider the "LIMIT 1" optimization with parallel DISTINCT
b588cad6committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Apply the "LIMIT 1" optimization to partial DISTINCTJan 31, 2024
AuthorSimplify partial path generation in GROUP BY/ORDER BY
8ee9c250committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Some revises in adding sorting pathJan 30, 2024
ReviewerDe-dupicate Memoize cache keys
bc397e5ccommitted by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
A performance issue with MemoizeJan 26, 2024
AuthorImprove NestLoopParam generation for lateral subqueries
2cca95e1committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
A performance issue with MemoizeJan 26, 2024
Reported bySilence compiler warning introduced in 1edb3b491b
fba2112bcommitted by Amit Langote
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
A compiling warning in jsonb_populate_record_validJan 25, 2024
ReviewerBackportedFix ALTER TABLE .. ADD COLUMN with complex inheritance trees
bb812ab0committed by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.2REL_15_STABLE15.6REL_14_STABLE14.11REL_13_STABLE13.14+1 more
BUG #18297: Error when adding a column to a parent table with complex inheritanceJan 24, 2024
AuthorReviewerAdd better handling of redundant IS [NOT] NULL quals
b262ad44committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
BUG #17540: Prepared statement: PG switches to a generic query plan which is consistently much slowerJan 23, 2024
AuthorBackportedRe-disallow Memoize for parameterized nested loops with join filters
2bcf0785committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.2
Postgres 16.1 - Bug: cache entry already completeJan 22, 2024
ReviewerExplore alternative orderings of group-by pathkeys during optimization.
0452b461committed by Alexander Korotkov
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
POC: GROUP BY optimizationJan 21, 2024
ReviewerFix broken Bitmapset optimization in DiscreteKnapsack()
4b310636committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Strange Bitmapset manipulation in DiscreteKnapsack()Jan 18, 2024
ReviewerFix description of DecodeInsert() in decode.c
44ad5129committed by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Fix a typo of func DecodeInsert()Jan 17, 2024
AuthorFix REALLOCATE_BITMAPSETS code
c7e5e994committed by David Rowley
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Revise the Asserts added to bimapset manipulation functionsJan 16, 2024
AuthorFix 'negative bitmapset member' error
fe093994committed by Alexander Korotkov
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
BUG #18260: Unexpected error: "negative bitmapset member not allowed" triggered by multiple JOINJan 15, 2024
AuthorLLMFix Asserts in calc_non_nestloop_required_outer().
add673b8committed by Tom Lane
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Fix bogus Asserts in calc_non_nestloop_required_outerJan 10, 2024
AuthorLLMBackportedHandle WindowClause.runCondition in tree walker/mutator functions.
d641b827committed by Tom Lane
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.2REL_15_STABLE15.6
BUG #18277: Unexpected error: "WindowFunc not found in subplan target lists" triggered by JOIN and Window FuncJan 10, 2024
Reported byStrengthen tests for 5ef34a8fc3
bea18b1ccommitted by Alexander Korotkov
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
BUG #18261: Inconsistent results of SELECT affected by joined subqueriesJan 08, 2024
AuthorFix the issue that SJE mistakenly omits qual clauses
5ef34a8fcommitted by Alexander Korotkov
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
BUG #18261: Inconsistent results of SELECT affected by joined subqueriesJan 06, 2024
ReviewerBackportedFix corruption of local buffer state during extend of temp relation
9cd0d77dcommitted by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.2
BUG #18259: Assertion in ExtendBufferedRelLocal() fails after no-space-left conditionJan 05, 2024
AuthorFix typos in simplehash.h
141752bbcommitted by Peter Eisentraut
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
BUG #18252: Assert in CheckOpSlotCompatibility() fails when recursive union filters tuples in non-recursive termJan 02, 2024