Filter:

Commits in 2025

Commits96 commits of which 7 backported
52Author
65Committer
30Reviewer2 as committer
7Reported by
4Co-author
CreditCommitBranchesThread(s)Committed
AuthorCommitterAdd explanatory comment to prune_freeze_setup()
bfe5c4be
master19beta1REL_19_STABLE19beta1
Fix uninitialized PruneFreezeResult in pruneheap and vacuumlazyDec 16, 2025
CommitterReviewerFix const qualification in prune_freeze_setup()
4877391c
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Dec 16, 2025
Reviewerbufmgr: Separate keys for private refcount infrastructure
edbaaea0committed by Andres Freund
master19beta1REL_19_STABLE19beta1
Buffer locking is special (hints, checksums, AIO writes)Dec 14, 2025
Reviewerbufmgr: Add one-entry cache for private refcount
30df6199committed by Andres Freund
master19beta1REL_19_STABLE19beta1
Buffer locking is special (hints, checksums, AIO writes)Dec 14, 2025
AuthorCommitterAdd comment about keeping PD_ALL_VISIBLE and VM in sync
eebec3ca
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Dec 10, 2025
AuthorCommitterSimplify vacuum visibility assertion
bd298f54
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Dec 10, 2025
AuthorCommitterSuppress spurious Coverity warning in prune freeze logic
904f9f5e
master19beta1REL_19_STABLE19beta1
No linked threadDec 04, 2025
ReviewerAdd pg_atomic_unlocked_write_u64
7902a47ccommitted by Andres Freund
master19beta1REL_19_STABLE19beta1
Buffer locking is special (hints, checksums, AIO writes)Dec 03, 2025
ReviewerRename BUFFERPIN wait event class to BUFFER
6c5c393bcommitted by Andres Freund
master19beta1REL_19_STABLE19beta1
Buffer locking is special (hints, checksums, AIO writes)Dec 03, 2025
Reviewerbufmgr: Turn BUFFER_LOCK_* into an enum
15668005committed by Andres Freund
master19beta1REL_19_STABLE19beta1
Buffer locking is special (hints, checksums, AIO writes)Dec 03, 2025
AuthorCommitterSplit heap_page_prune_and_freeze() into helpers
e135e044
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Nov 26, 2025
CommitterReviewerAssert that cutoffs are provided if freezing will be attempted
cd38b7e7
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Nov 25, 2025
AuthorCommitterSplit PruneFreezeParams initializers to one field per line
1e14edce
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Nov 20, 2025
AuthorCommitterUpdate PruneState.all_[visible|frozen] earlier in pruning
65ec565b
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Nov 20, 2025
AuthorCommitterKeep all_frozen updated in heap_page_prune_and_freeze
351d7e24
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Nov 20, 2025
AuthorCommitterRefactor heap_page_prune_and_freeze() parameters into a struct
1937ed70
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Nov 20, 2025
ReviewerBackporteddoc: Update formula for vacuum insert threshold.
cbdce71bcommitted by Nathan Bossart
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.2
Trigger more frequent autovacuums of heavy insert tablesNov 19, 2025
AuthorLLMReviewerBackportedFix hashjoin memory balancing logic
b85c4700committed by Tomas Vondra
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.1
Fix overflow of nbatchOct 17, 2025
AuthorCommitterMake heap_page_is_all_visible independent of LVRelState
3e470548
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Oct 14, 2025
AuthorCommitterInline TransactionIdFollows/Precedes[OrEquals]()
43b05b38
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Oct 14, 2025
AuthorCommitterAdd helper for freeze determination to heap_page_prune_and_freeze
c8dd6542
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Oct 14, 2025
AuthorCommitterBump XLOG_PAGE_MAGIC after xl_heap_prune change
4a8fb586
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Oct 14, 2025
AuthorCommitterEliminate XLOG_HEAP2_VISIBLE from vacuum phase III
add323da
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Oct 13, 2025
AuthorCommitterEliminate COPY FREEZE use of XLOG_HEAP2_VISIBLE
d96f8733
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Oct 09, 2025
ReviewerRemove PlannerInfo's join_search_private method.
64095d15committed by Robert Haas
master19beta1REL_19_STABLE19beta1
RFC: extensible planner stateOct 07, 2025
ReviewerAllow private state in certain planner data structures.
0132dddacommitted by Robert Haas
master19beta1REL_19_STABLE19beta1
RFC: extensible planner stateOct 07, 2025
AuthorReorder XLogNeedsFlush() checks to be more consistent
bb68cde4committed by Michael Paquier
master19beta1REL_19_STABLE19beta1
Incorrect logic in XLogNeedsFlush()Sep 30, 2025
AuthorCommitterCorrect prune WAL record opcode name in comment
ae8ea727
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Sep 24, 2025
AuthorMake XLogFlush() and XLogNeedsFlush() decision-making more consistent
deb208dfcommitted by Michael Paquier
master19beta1REL_19_STABLE19beta1
Incorrect logic in XLogNeedsFlush()Sep 19, 2025
AuthorCommitterAdd error codes when vacuum discovers VM corruption
8ec97e78
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Sep 08, 2025
AuthorCommitterRemove unused xl_heap_prune member, reason
4b5f206d
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Sep 08, 2025
AuthorCommitterReported byRemove unneeded VM pin from VM replay
3399c265
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Sep 08, 2025
AuthorCommitterAdd assert and log message to visibilitymap_set
e3d5ddb7
master19beta1REL_19_STABLE19beta1
eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)Sep 05, 2025
CommitterReviewercommitterReported byBackportedMinor test fixes in 035_standby_logical_decoding.pl
6551a05d
master19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3REL_17_STABLE17.6REL_16_STABLE16.10
Missing import in 035_standby_logical_decoding.plAug 04, 2025
ReviewerBackportedFix missing FSM vacuum opportunities on tables without indexes.
3811ca36committed by Masahiko Sawada
master19beta1REL_19_STABLE19beta1REL_18_STABLE18beta2REL_17_STABLE17.6
Periodic FSM vacuum doesn't happen in one-pass strategy vacuum.Jul 02, 2025
AuthorCommitterBackportedRemove unused check in heap_xlog_insert()
483f7246
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19
Remove unneeded check for XLH_INSERT_ALL_FROZEN in heap_xlog_insertJun 26, 2025
AuthorCommitterSimplify vacuum VM update logging counters
060f420a
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
Simplify VM counters in vacuum codeJun 26, 2025
AuthorCommitterBackportedTest that vacuum removes tuples older than OldestXmin
303ba057
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6
Vacuum ERRORs out considering freezing dead tuples from before OldestXminJun 24, 2025
AuthorCommitterCorrect heap vacuum boundary state setup ordering
31a7e175
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
RelationGetNumberOfBlocks called before vacuum_get_cutoffsJun 02, 2025
Reported bydoc PG 18 relnotes: modify async I/O item for other improvements
03c53a73committed by Bruce Momjian
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
PG 18 release notes draft committedMay 29, 2025
Reported bydoc PG 18 relnotes: split apart log_connections item
a1de1b08committed by Bruce Momjian
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
PG 18 release notes draft committedMay 29, 2025
ReviewerFix assertion when decrementing eager scanning success and failure counters.
4c08ecd1committed by Masahiko Sawada
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
Assert("vacrel->eager_scan_remaining_successes > 0")May 27, 2025
AuthorCommitterReplace deprecated log_connections values in docs and tests
cb145642
master18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
Log connection establishment timingsMay 22, 2025
CommitterAdd maintenance_io_concurrency flag to some read stream users
f132815f
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Finalizing read stream users' flag choicesApr 28, 2025
CommitterCo-authorUse streaming read I/O in autoprewarm
d9c7911e
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Using read stream in autoprewarmApr 04, 2025
CommitterCo-authorRefactor autoprewarm_database_main() in preparation for read stream
6acab8bd
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Using read stream in autoprewarmApr 04, 2025
CommitterRemove superfluous autoprewarm check
7f848cb7
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
No linked threadApr 04, 2025
AuthorLLMCommitterFix autoprewarm neglect of tablespaces
64e7fa43
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Using read stream in autoprewarmApr 04, 2025
CommitterUse AIO batchmode for bitmap heap scans
67be0935
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
No linked threadApr 03, 2025
CommitterRemove misleading read stream asserts in a few users
54a3615f
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Using read stream in autoprewarmApr 03, 2025
AuthorCommitteraio: Add errcontext for processing I/Os for another backend
b3219c69
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Apr 01, 2025
AuthorEnable IO concurrency on all systems
2a5e709ecommitted by Andres Freund
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Mar 30, 2025
Reviewerbufmgr: Implement AIO read support
047cba7fcommitted by Andres Freund
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Asynchronous and "direct" IO support for PostgreSQL.AIO writes vs hint bits vs checksumsMar 30, 2025
CommitterCo-authorUse streaming read I/O in heap amcheck
043799fa
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
read stream on amcheckMar 27, 2025
AuthorLLMCommitterFix bitmapheapscan incorrect recheck of NULL tuples
aea916fe
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
BitmapHeapScan streaming read user and prelim refactoringMar 24, 2025
Reported byaio: Change prefix of PgAioResultStatus values to PGAIO_RS_
ca3067cccommitted by Andres Freund
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Mar 22, 2025
CommitterReviewerUse streaming read I/O in SP-GiST vacuuming
e215166c
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Using read_stream in index vacuumMar 21, 2025
CommitterReviewerUse streaming read I/O in GiST vacuuming
69273b81
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Using read_stream in index vacuumMar 21, 2025
CommitterAssorted trivial cleanup of c5c239e26e
3f850c3f
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
No linked threadMar 21, 2025
CommitterReviewerUse streaming read I/O in btree vacuuming
c5c239e2
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Using read_stream in index vacuumMar 21, 2025
Reviewerbufmgr: Improve stats when a buffer is read in concurrently
202b1277committed by Andres Freund
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Mar 20, 2025
CommitterIncrease default maintenance_io_concurrency to 16
cc6be07e
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
WIP: WAL prefetch (another approach)BitmapHeapScan streaming read user and prelim refactoringMar 18, 2025
ReviewerCo-authoraio: Add core asynchronous I/O infrastructure
da722699committed by Andres Freund
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Asynchronous and "direct" IO support for PostgreSQL.AIO writes vs hint bits vs checksumsMar 17, 2025
Reviewerlocalbuf: Fix dangerous coding pattern in GetLocalVictimBuffer()
fa6af9b2committed by Andres Freund
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Mar 16, 2025
Reviewerlocalbuf: Introduce TerminateLocalBufferIO()
dd6f2618committed by Andres Freund
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Mar 16, 2025
Reviewerlocalbuf: Introduce StartLocalBufferIO()
771ba902committed by Andres Freund
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Mar 16, 2025
Reviewerlocalbuf: Introduce FlushLocalBuffer()
4b4d33b9committed by Andres Freund
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Mar 16, 2025
Reviewerlocalbuf: Introduce InvalidateLocalBuffer()
0762a151committed by Andres Freund
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
AIO v2.0Mar 16, 2025
AuthorLLMCommitterRemove table AM callback scan_bitmap_next_block
c3953226
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
BitmapHeapScan streaming read user and prelim refactoringMar 15, 2025
AuthorCommitterBitmapHeapScan uses the read stream API
2b73a8cd
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
BitmapHeapScan streaming read user and prelim refactoringMar 15, 2025
AuthorLLMCommitterSeparate TBM[Shared|Private]Iterator and TBMIterateResult
944e81bf
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
BitmapHeapScan streaming read user and prelim refactoringMar 15, 2025
Reported byImprove read_stream.c advice for dense streams.
7ea8cd15committed by Thomas Munro
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Some read stream improvementsBitmapHeapScan streaming read user and prelim refactoringMar 15, 2025
AuthorLLMCommitterIncrease default effective_io_concurrency to 16
ff79b5b2
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
posix_fadvise v22BitmapHeapScan streaming read user and prelim refactoringMar 12, 2025
AuthorCommitterAdd connection establishment duration logging
18cd15e7
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Log connection establishment timingsMar 12, 2025
AuthorCommitterModularize log_connections output
9219093c
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Log connection establishment timingsMar 12, 2025
Reported byOrganize and deduplicate statistics import tests.
1d33de9dcommitted by Jeff Davis
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Statistics Import and ExportMar 06, 2025
AuthorCommitterTrigger more frequent autovacuums with relallfrozen
06eae9e6
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Trigger more frequent autovacuums of heavy insert tablesMar 03, 2025
AuthorCommitterAdd relallfrozen to pg_class
99f8f3fb
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Trigger more frequent autovacuums of heavy insert tablesMar 03, 2025
AuthorLLMCommitterDelay extraction of TIDBitmap per page offsets
bfe56cdf
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
BitmapHeapScan streaming read user and prelim refactoringFeb 24, 2025
AuthorLLMCommitterAdd lossy indicator to TBMIterateResult
b8778c4c
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
BitmapHeapScan streaming read user and prelim refactoringFeb 24, 2025
ReviewerConsider BufFiles when adjusting hashjoin parameters
a1b4f289committed by Tomas Vondra
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Adjusting hash join memory limit to handle batch explosionaccounting for memory used for BufFile during hash joinsFeb 19, 2025
CommitterReduce scope of heap vacuum per_buffer_data
c623e859
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Confine vacuum skip logic to lazy_scan_skipFeb 18, 2025
ReviewerBackportedFix explicit valgrind interaction in read_stream.c.
2a8a0067committed by Thomas Munro
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5
Confine vacuum skip logic to lazy_scan_skipFeb 15, 2025
AuthorCommitterUse streaming read I/O in VACUUM's third phase
c3e775e6
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Confine vacuum skip logic to lazy_scan_skipFeb 14, 2025
AuthorLLMCommitterUse streaming read I/O in VACUUM's first phase
92568226
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Confine vacuum skip logic to lazy_scan_skipFeb 14, 2025
AuthorLLMCommitterConvert heap_vac_scan_next_block() boolean parameters to flags
32acad7d
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Confine vacuum skip logic to lazy_scan_skipFeb 14, 2025
CommitterReviewercommitterLimit pgbench COPY FREEZE to ordinary relations
d0d649e9
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
pgbench with partitioned tablesFeb 11, 2025
AuthorLLMCommitterEagerly scan all-visible pages to amortize aggressive vacuum
052026c9
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Eagerly scan all-visible pages to amortize aggressive vacuumFeb 11, 2025
ReviewerIntroduce autovacuum_vacuum_max_threshold.
306dc520committed by Nathan Bossart
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
New GUC autovacuum_max_threshold ?Feb 05, 2025
AuthorLLMCommitterMove BitmapTableScan per-scan setup into a helper
a5358c14
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
BitmapHeapScan streaming read user and prelim refactoringJan 30, 2025
AuthorLLMCommitterAdd and use BitmapHeapScanDescData struct
f7a8fc10
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
BitmapHeapScan streaming read user and prelim refactoringJan 16, 2025
AuthorLLMCommitterAdd more general summary to vacuumlazy.c
3edc67d3
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Eagerly scan all-visible pages to amortize aggressive vacuumJan 15, 2025
AuthorLLMCommitterSynchronize guc_tables.c categories with vacuum docs categories
2ae98ea5
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
pgsql: Consolidate docs for vacuum-related GUCs in new subsectionJan 14, 2025
ReviewerMake pg_stat_io count IOs as bytes instead of blocks for some operations
f92c854ccommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Make pg_stat_io view count IOs as bytes instead of blocksJan 14, 2025
AuthorLLMCommitterReorder vacuum GUCs in postgresql.conf.sample to match docs
af231765
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
pgsql: Consolidate docs for vacuum-related GUCs in new subsectionJan 13, 2025
AuthorLLMCommitterConsolidate docs for vacuum-related GUCs in new subsection
ca9c6a56
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Moving the vacuum GUCs' docs out of the Client Connection Defaults sectionJan 10, 2025