Filter:

Commits in 2023

Commits120 commits of which 30 backported
48Author
106Committer
47Reviewer19 as committer
4Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
ReviewerMicro-optimize JSONTYPE_NUMERIC code path in json.c.
dc3f9bc5committed by Nathan Bossart
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
micro-optimizing json.cDec 08, 2023
AuthorLLMCommitterVerify that attribute counts match in ExecCopySlot
d16a0c1e
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Something seems weird inside tts_virtual_copyslot()Dec 07, 2023
AuthorLLMCommitterDon't use bms_membership() in cases where we don't need to
930d2b44
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Don't use bms_membership in places where it's not neededNov 27, 2023
Reported byBackporteddoc: add docs for age(xid) and mxid_age(xid)
48b5aa31committed by Bruce Momjian
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.2
mxid_age() and age(xid) appear undocumentedNov 24, 2023
CommitterReviewercommitterBackportedEnsure we use the correct spelling of "ensure"
10d34fef
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.2REL_15_STABLE15.6REL_14_STABLE14.11REL_13_STABLE13.14+1 more
ensure, not insureNov 09, 2023
AuthorLLMCommitterMake use of initReadOnlyStringInfo() in more places
ac7d6f5f
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Making aggregate deserialization (and WAL receive) functions slightly fasterNov 06, 2023
CommitterTry again to fix the MSVC build
151ffcf6
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Pre-proposal: unicode normalized textNov 04, 2023
CommitterAdd missing unicode_category.c to MSVC build scripts
39c959ef
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
No linked threadNov 03, 2023
CommitterStabilize postgres_fdw tests on 32-bit machines
b690e5fa
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Why is DEFAULT_FDW_TUPLE_COST so insanely low?Nov 02, 2023
CommitterAttempt to stabilize postgres_fdw tests
4b14e187
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Why is DEFAULT_FDW_TUPLE_COST so insanely low?Nov 02, 2023
AuthorLLMCommitterIncrease DEFAULT_FDW_TUPLE_COST from 0.01 to 0.2
cac169d6
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Why is DEFAULT_FDW_TUPLE_COST so insanely low?Nov 02, 2023
AuthorLLMCommitterBackportedAdjust the order of the prechecks in pgrowlocks()
73635b6d
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+1 more
small erreport bug over partitioned table pgrowlocks moduleOct 31, 2023
AuthorCommitterOptimize various aggregate deserialization functions, take 2
0c882a29
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Making aggregate deserialization (and WAL receive) functions slightly fasterOct 26, 2023
AuthorCommitterIntroduce the concept of read-only StringInfos
f0efa5ae
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Making aggregate deserialization (and WAL receive) functions slightly fasterOct 26, 2023
ReviewerRemove useless self-joins
d3d55ce5committed by Alexander Korotkov
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Removing unneeded self joinsOct 25, 2023
CommitterAdd missing include dir and references to libpq for MSVC build
673a17e3
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
No linked threadOct 25, 2023
AuthorLLMCommitterBackportedFix runtime partition pruning for HASH partitioned tables
d9e46dfb
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+2 more
Problem, partition pruning for prepared statement with IS NULL clause.Oct 12, 2023
CommitterReviewercommitterBackportedDoc: fix grammatical errors for enable_partitionwise_aggregate
dab5538f
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+2 more
Doc: Minor update for enable_partitionwise_aggregateOct 12, 2023
AuthorLLMCommitterBackportedFix incorrect step generation in HASH partition pruning
f0c409d9
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+2 more
Problem, partition pruning for prepared statement with IS NULL clause.Oct 12, 2023
CommitterReviewercommitterFix possible crash in add_paths_to_append_rel()
fc4089f3
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Crash in add_paths_to_append_relOct 10, 2023
CommitterRevert "Optimize various aggregate deserialization functions"
4f3b56ee
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Making aggregate deserialization (and WAL receive) functions slightly fasterOct 10, 2023
AuthorLLMCommitterOptimize various aggregate deserialization functions
608fd198
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Making aggregate deserialization (and WAL receive) functions slightly fasterOct 09, 2023
AuthorLLMCommitterBackportedStrip off ORDER BY/DISTINCT aggregate pathkeys in create_agg_path
d8a29538
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1
pg16: XX000: could not find pathkey item to sortOct 09, 2023
AuthorLLMCommitterRemove debug_print_rel and replace usages with pprint
77db1326
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Does anyone ever use OPTIMIZER_DEBUG?Oct 09, 2023
AuthorCommitterConsider cheap startup paths in add_paths_to_append_rel
a8a968a8
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
make add_paths_to_append_rel aware of startup costOct 05, 2023
AuthorCommitterBackportedFix memory leak in Memoize code
0b053e78
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10
[PATCH] Fix memory leak in memoize for numeric keyOct 05, 2023
AuthorLLMCommitterTidy-up some appendStringInfo*() usages
2075ba9d
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Fixup some more appendStringInfo misusagesOct 03, 2023
CommitterReviewerRobustify find_base_rel and find_base_rel_ignore_join
d40d8272
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Avoid a possible out-of-bounds access (src/backend/optimizer/util/relnode.c)Sep 29, 2023
CommitterReviewercommitterBackportedAdd missing TidRangePath handling in print_path()
c4a1933b
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10
Missed TidRangePath in the print_path switchSep 28, 2023
AuthorCommitterBackportedFix vacuumdb to pass buffer-usage-limit with analyze-only mode
5cfba1ad
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1
Bug fix in vacuumdb --buffer-usage-limit xxx -ZSep 21, 2023
CommitterBackportedFix incorrect logic in plan dependency recording
ee3a551e
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10
Surely this code in setrefs.c is wrong?Sep 13, 2023
ReviewerBackportedReport syncscan position at end of scan.
e8d74ad6committed by Heikki Linnakangas
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.0
Sync scan & regression testsAug 31, 2023
ReviewerBackportedAvoid possible overflow with ltsGetFreeBlock() in logtape.c
52c6c0f1committed by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.0REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13
Avoid a possible overflow (src/backend/utils/sort/logtape.c)Aug 29, 2023
AuthorLLMCommitterBackportedMeson: check for pg_config_paths.h left over from make
6ff385f2
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16rc1
meson uses stale pg_config_paths.h left over from makeAug 23, 2023
CommitterReviewercommitterBackportedDon't Memoize lateral joins with volatile join conditions
990c3650
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16beta3REL_15_STABLE15.4REL_14_STABLE14.9
Check volatile functions in ppi_clauses for memoize nodeAug 07, 2023
CommitterReviewercommitterFix misleading comment in paraminfo_get_equal_hashops
fdd79d89
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Fix a comment in paraminfo_get_equal_hashopsAug 07, 2023
AuthorCommitterTidy up join_search_one_level code
6c00d2c9
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Improve join_search_one_level readibilty (one line change)Aug 06, 2023
CommitterAttempt to stabilize new window agg regression test
7516056c
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Fix incorrect start up costs for WindowAgg paths (bug #17862)Aug 04, 2023
CommitterMinor adjustments to WindowAgg startup cost code
3fd19a9b
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Fix incorrect start up costs for WindowAgg paths (bug #17862)Aug 03, 2023
AuthorCommitterAccount for startup rows when costing WindowAggs
3900a02c
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
BUG #17862: Overall query cost ignores window functionFix incorrect start up costs for WindowAgg paths (bug #17862)Aug 03, 2023
AuthorCommitterBackportedFix performance regression in pg_strtointNN_safe functions
3845577c
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16beta3
Performance degradation on concurrent COPY into a single relation in PG16.Aug 02, 2023
AuthorLLMCommitterBackportedFix overly strict Assert in jsonpath code
deae1657
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16beta3REL_15_STABLE15.4REL_14_STABLE14.9REL_13_STABLE13.12+1 more
BUG #18035: Assertion failure in jsonb_path_queryAug 01, 2023
CommitterReviewercommitterBackportedFix performance problem with new COPY DEFAULT code
b635ac03
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16beta3
Performance degradation on concurrent COPY into a single relation in PG16.Jul 27, 2023
CommitterReviewerShrink memory contexts struct sizes
2c2eb0d6
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Changing types of block and chunk sizes in memory contextsJul 16, 2023
CommitterBackportedDoc: update old reference to "result cache"
c23e7ea4
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16beta3REL_15_STABLE15.4REL_14_STABLE14.9
Check lateral references within PHVs for memoize cache keysJul 09, 2023
CommitterReviewerAllow Incremental Sorts on GiST and SP-GiST indexes
625d5b3c
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Incremental sort for access method with ordered scan support (amcanorderbyop)Jul 04, 2023
AuthorCommitterRemove trailing zero words from Bitmapsets
a8c09daa
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Making empty Bitmapsets always be NULLJul 04, 2023
AuthorCommitterRemove redundant PARTITION BY columns from WindowClauses
c6510200
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Remove WindowClause PARTITION BY items belonging to redundant pathkeysJul 03, 2023
AuthorLLMCommitterBackportedDoc: mention that extended stats aren't used for joins
c2d35bb8
master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2REL_15_STABLE15.4REL_14_STABLE14.9REL_13_STABLE13.12+2 more
extended statistics n-distinct on multiple columns not used when join two tablesJun 22, 2023
AuthorLLMCommitterBackportedDon't use partial unique indexes for unique proofs in the planner
7fcd7ef2
master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2REL_15_STABLE15.4REL_14_STABLE14.9REL_13_STABLE13.12+2 more
BUG #17975: Nested Loop Index Scan returning wrong resultJun 19, 2023
AuthorLLMCommitterDon't use _BitScanForward64/_BitScanReverse64 on 32-bit MSVC builds
53ea2b7a
master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2
BUG #17967: [msvc-x86] Failed to build with error LNK2019: unresolved external symbol __BitScanReverse64 referenJun 07, 2023
CommitterReviewercommitterDoc: unify use of timestamp with time zone vs timestamptz
8cddea9a
master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2
[16Beta1][doc] pgstat: Track time of the last scan of a relationJun 05, 2023
Reported bydoc: PG 16 relnotes, move memory item and reword OUTER item
e6a254c0committed by Bruce Momjian
master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2
PG 16 draft release notes readyMay 31, 2023
Reported bydoc: PG 16 relnotes, add memory overhead reduction item
409d2448committed by Bruce Momjian
master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2
PG 16 draft release notes readyMay 30, 2023
Reported bydoc: PG 16 relnotes: adjust outer/full hash join parallelization
5a646409committed by Bruce Momjian
master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2
PG 16 draft release notes readyMay 29, 2023
ReviewerAdd unit to vacuum_buffer_usage_limit value in postgresql.conf.sample.
b72f564dcommitted by Masahiko Sawada
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeApr 28, 2023
CommitterReviewercommitterRemove unused global variable
84e05beb
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Fix typos and inconsistencies for v16Apr 20, 2023
CommitterReviewercommitterFix incorrect function name reference
d91d1635
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Fix typos and inconsistencies for v16Apr 20, 2023
AuthorCommitterBackportedDoc: clarify NULLS NOT DISTINCT use in unique indexes
0d0aeb04
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3
Note new NULLS NOT DISTINCT on unique index tutorial pageApr 20, 2023
CommitterBackportedFix list_copy_head() with empty Lists
e35ded29
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3
Incremental sort for access method with ordered scan support (amcanorderbyop)Apr 19, 2023
CommitterReviewercommitterFix various typos and incorrect/outdated name references
3f58a4e2
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Fix typos and inconsistencies for v16Apr 19, 2023
CommitterReviewerFix some typos and some incorrectly duplicated words
eef231e8
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Fix typos and inconsistencies for v16Apr 18, 2023
CommitterReviewercommitterFix various typos
b4dbf3e9
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Fix typos and inconsistencies for v16Apr 18, 2023
CommitterDoc: remove notes about the version vacuumdb options are valid from
fde9c068
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Can we delete the vacuumdb.sgml notes about which version each option was added in?Apr 16, 2023
CommitterDoc: add note about --buffer-usage-limit being v16 onwards
e9f451ac
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
No linked threadApr 16, 2023
AuthorLLMCommitterImprove VACUUM/ANALYZE BUFFER_USAGE_LIMIT docs
c0235013
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeApr 16, 2023
AuthorLLMCommitterAdjust Valgrind macro usage to protect chunk headers
414d6622
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
An oversight in ExecInitAgg for grouping setsProtecting allocator headers with ValgrindApr 14, 2023
AuthorLLMCommitterBackportedFix incorrect partition pruning logic for boolean partitioned tables
e0693faf
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3REL_14_STABLE14.8REL_13_STABLE13.11+2 more
Unexpected (wrong?) result querying boolean partitioned table with NULL partitionApr 14, 2023
CommitterRemove old GUC name mapping for "force_parallel_mode"
0981846b
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Can we do something to help stop users mistakenly using force_parallel_mode?Apr 13, 2023
AuthorLLMCommitterFix uninitialized variable in transformTableLikeClause()
4c8a1b47
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
pgsql: Catalog NOT NULL constraintsApr 11, 2023
AuthorLLMCommitterImprove ereports for VACUUM's BUFFER_USAGE_LIMIT option
68a2a437
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
pgsql: Add VACUUM/ANALYZE BUFFER_USAGE_LIMIT optionApr 11, 2023
AuthorLLMCommitterDoc: use "an SQL" consistently rather than "a SQL"
d866f037
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
"an SQL" vs. "a SQL"Apr 11, 2023
CommitterReviewerAdd --buffer-usage-limit option to vacuumdb
ae78cae3
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeApr 07, 2023
CommitterReviewerAdd VACUUM/ANALYZE BUFFER_USAGE_LIMIT option
1cbbee03
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeApr 06, 2023
CommitterReviewerMove various prechecks from vacuum() into ExecVacuum()
b9b125b9
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeApr 06, 2023
CommitterAlways make a BufferAccessStrategy for ANALYZE
bccd6908
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeApr 06, 2023
Reviewerbufmgr: Add Pin/UnpinLocalBuffer()
794f2594committed by Andres Freund
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
refactoring relation extension and BufferAlloc(), faster COPYApr 05, 2023
ReviewerAdd smgrzeroextend(), FileZero(), FileFallocate()
4d330a61committed by Andres Freund
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
refactoring relation extension and BufferAlloc(), faster COPYApr 05, 2023
CommitterReviewerRename BufferAccessStrategyData.ring_size to nbuffers
8d928e3a
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeApr 03, 2023
CommitterReviewerDisable vacuum's use of a buffer access strategy during failsafe
4830f102
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeApr 03, 2023
CommitterReviewerOnly make buffer strategy for vacuum when it's likely needed
32fbe023
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeApr 03, 2023
CommitterReviewercommitterRemove some global variables from vacuum.c
3f476c95
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeApr 03, 2023
CommitterReviewerDoc: add Buffer Access Strategy to the glossary
c8f8d0eb
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Option to not use ringbuffer in VACUUM, using it in failsafe modeMar 31, 2023
AuthorLLMCommitterBackportedFix List memory issue in transformColumnDefinition
6c3b697b
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3REL_14_STABLE14.8REL_13_STABLE13.11+2 more
BUG #17879: ERROR: unrecognized node type: 2139062143Mar 30, 2023
AuthorLLMCommitterFix outdated comments regarding TupleTableSlots
902ecd3b
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
A structure has changed but comment modifications maybe missedMar 30, 2023
ReviewerAdd SysCacheGetAttrNotNull for guaranteed not-null attrs
d435f15fcommitted by Daniel Gustafsson
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Refactoring SysCacheGetAttr to know when attr cannot be NULLMar 25, 2023
CommitterReviewercommitterFix incorrect comment in preptlist.c
b94c6716
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Comment in preptlist.cMar 21, 2023
AuthorLLMCommitterCorrect Memoize's estimated cache hit ratio calculation
f48b4f89
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
strange slow query - lost lot of time somewhereAdjust Memoize hit_ratio calculationMar 21, 2023
AuthorLLMCommitterHave the planner account for the Memoize cache key memory
785f7095
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
BUG #17844: Memory consumption for memoize nodeMar 20, 2023
AuthorLLMCommitterBackportedFix memory leak in Memoize cache key evaluation
579ee5df
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3REL_14_STABLE14.8
BUG #17844: Memory consumption for memoize nodeMar 20, 2023
AuthorLLMCommitterBackportedFix incorrect logic for determining safe WindowAgg run conditions
eb7d043c
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3
BUG #17826: An assert failed in /src/backend/optimizer/util/var.cMar 17, 2023
ReviewerAdd support for unit "B" to pg_size_bytes()
ce1215d9committed by Peter Eisentraut
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Add support for unit "B" to pg_size_pretty()Mar 07, 2023
CommitterReviewercommitterFix incorrect comment in pg_get_partkeydef()
cf96907a
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Inaccurate comment for pg_get_partkeydefMar 07, 2023
ReviewerImplement ANY_VALUE aggregate
2ddab010committed by Peter Eisentraut
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
ANY_VALUE aggregateFeb 22, 2023
AuthorLLMCommitterOptimize generate_orderedappend_paths
94cad7a3
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Introduce list_reverse() to make lcons() usage less inefficientFeb 20, 2023
AuthorLLMCommitterSpeedup and increase usability of set proc title functions
2cb82e2a
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Make set_ps_display faster and easier to useFeb 20, 2023
AuthorLLMCommitterRename force_parallel_mode to debug_parallel_query
5352ca22
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Can we do something to help stop users mistakenly using force_parallel_mode?Feb 15, 2023
CommitterFix pfree issue in presorted DISTINCT aggregate code
ec5a010a
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
array_agg(DISTINCT) caused a segmentation faultFeb 13, 2023
CommitterFix incorrect presorted DISTINCT aggregate if condition
7da51590
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
array_agg(DISTINCT) caused a segmentation faultFeb 13, 2023
AuthorLLMCommitterBackportedDisable WindowAgg inverse transitions when subplans are present
836c31ba
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3REL_14_STABLE14.8REL_13_STABLE13.11+2 more
BUG #17777: An assert failed in nodeWindowAgg.cFeb 13, 2023
CommitterRemove stray duplicated comment in heapam.h
9ed50ab3
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
heapgettup refactoringFeb 08, 2023
CommitterReviewerMore refactoring of heapgettup() and heapgettup_pagemode()
cfcf56f9
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
heapgettup refactoringFeb 07, 2023
CommitterReviewerReduce code duplication between heapgettup and heapgettup_pagemode
7ae0ab0a
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
heapgettup() with NoMovementScanDirection unused in core?Feb 03, 2023
CommitterReviewerAdd helper functions to simplify heapgettup code
8ca6d49f
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
heapgettup() with NoMovementScanDirection unused in core?Feb 02, 2023
CommitterReviewerFurther refactor of heapgettup and heapgettup_pagemode
f9bc34fc
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
heapgettup() with NoMovementScanDirection unused in core?Feb 02, 2023
CommitterReviewerRefactor heapam.c adding heapgettup_initial_block function
fb1a59de
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
heapgettup() with NoMovementScanDirection unused in core?Feb 02, 2023
CommitterReviewerRemove dead NoMovementScanDirection code
e9aaf063
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
heapgettup() with NoMovementScanDirection unused in core?Jan 31, 2023
AuthorLLMCommitterTeach planner about more monotonic window functions
456fa635
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Monotonic WindowFunc support for ntile(), percent_rank() and cume_dist()Jan 27, 2023
CommitterBackportedUse OFFSET 0 instead of ORDER BY to stop subquery pullup
9567686e
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.2REL_14_STABLE14.7
pgsql: Fix LATERAL join test in test memoize.sqlJan 24, 2023
CommitterReviewercommitterBackportedFix LATERAL join test in test memoize.sql
b762fed6
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.2REL_14_STABLE14.7
Improve LATERAL join case in test memoize.sqlJan 23, 2023
CommitterReviewercommitterRun pgindent on heapam.c
009dbdea
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
heapgettup refactoringJan 23, 2023
CommitterHarden new parallel string_agg/array_agg regression test
67c5b884
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
No linked threadJan 23, 2023
AuthorCommitterAllow parallel aggregate on string_agg and array_agg
16fd03e9
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Parallel Aggregates for string_agg and array_aggJan 23, 2023
AuthorLLMCommitterUse appendStringInfoSpaces in more places
9f1ca6ce
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Use appendStringInfoSpaces moreJan 20, 2023
CommitterDon't presort ORDER BY/DISTINCT Aggrefs with volatile functions
da5800d5
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Add proper planner support for ORDER BY / DISTINCT aggregatesJan 17, 2023
AuthorCommitterHave the planner consider Incremental Sort for DISTINCT
3c6fc582
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Allow DISTINCT to use Incremental SortJan 10, 2023
CommitterReviewerAllow left join removals and unique joins on partitioned tables
3c569049
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
missing indexes in indexlist with partitioned tablesJan 09, 2023
AuthorCommitterAdd additional regression tests for select_active_windows
a14a5832
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Todo: Teach planner to evaluate multiple windows in the optimal orderJan 07, 2023
CommitterReviewercommitterFix some compiler warnings in aset.c and generation.c
b82557ec
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
Some compiling warningsJan 04, 2023
CommitterReviewercommitterFix typo in memutils_memorychunk.h
b23837dd
master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
An oversight in ExecInitAgg for grouping setsJan 03, 2023