Filter:

Commits in 2024

Commits85 commits of which 14 backported
36Author
0Committer
49Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
Reviewerinjection_points: Tweak variable-numbered stats to work with pending data
b757abefcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Fix handling of injection_points regarding pending statsDec 30, 2024
AuthorRelax regression test for fsync check of backend-level stats
54637159committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
per backend I/O statisticsDec 20, 2024
AuthorAdd backend-level statistics to pgstats
9aea73fccommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
per backend I/O statisticsDec 19, 2024
AuthorExtract logic filling pg_stat_get_io()'s tuplestore into its own routine
ff7c40d7committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
per backend I/O statisticsDec 19, 2024
ReviewerBackportedRevert "Don't truncate database and user names in startup packets."
a0ff56e2committed by Nathan Bossart
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3
BUG #18711: Attempting a connection with a database name longer than 63 characters now failsDec 12, 2024
AuthorAdjust some comments about structure properties in pg_stat.h
4766438acommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Fix comments related to pending statisticsDec 12, 2024
AuthorUse pg_memory_is_all_zeros() in pgstatfuncs.c.
e8d59294committed by Nathan Bossart
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Make use of pg_memory_is_all_zeros() in more placesDec 11, 2024
AuthorBackportedImprove comment about dropped entries in pgstat.c
001a537bcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3REL_16_STABLE16.7REL_15_STABLE15.11
shared-memory based stats collectorDec 09, 2024
ReviewerBackportedFix invalidation of local pgstats references for entry reinitialization
da99fedfcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3REL_16_STABLE16.7REL_15_STABLE15.11
Missing LWLock protection in pgstat_reset_replslot()Dec 09, 2024
AuthorBackportedDrop "Lock" suffix from LWLock wait event names
1e5ef3a2committed by Álvaro Herrera
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3
BUG #18728: Inconsistency between pg_wait_events.name and pg_stat_activity.wait_event for LWLocksDrop back the redundant "Lock" suffix from LWLock wait event namesDec 03, 2024
AuthorAdd write_to_file to PgStat_KindInfo for pgstats kinds
c06e71d1committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Add a write_to_file member to PgStat_KindInfoNov 22, 2024
AuthorBackporteddoc: Fix section of functions age(xid) and mxid_age(xid)
15afb7d6committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3REL_16_STABLE16.7
fix deprecation mention for age() and mxid_age()mxid_age() and age(xid) appear undocumentedNov 20, 2024
AuthorUse pg_memory_is_all_zeros() in PageIsVerifiedExtended()
03a42c96committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
define pg_structiszero(addr, s, r)Nov 18, 2024
AuthorOptimize pg_memory_is_all_zeros() in memutils.h
5be1dabdcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
define pg_structiszero(addr, s, r)Nov 18, 2024
ReviewerProper object locking for GRANT/REVOKE
d31bbfb6committed by Peter Eisentraut
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Proper object locking for GRANT/REVOKENov 15, 2024
AuthorAdd an assertion in get_object_address()
e468ec0fcommitted by Peter Eisentraut
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Proper object locking for GRANT/REVOKENov 15, 2024
ReviewerBackportedFix race conditions with drop of reused pgstats entries
818119afcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.2REL_16_STABLE16.6REL_15_STABLE15.10
BF mamba failureBUG #17947: Combination of replslots pgstat issues causes error/assertion failureNov 15, 2024
AuthorBackportedClear padding of PgStat_HashKey when handling pgstats entries
7d85d87fcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.1REL_16_STABLE16.5REL_15_STABLE15.9
Clear padding in PgStat_HashKey keysNov 05, 2024
AuthorAdd pg_memory_is_all_zeros() in memutils.h
07e9e28bcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
define pg_structiszero(addr, s, r)Nov 01, 2024
Reviewerinjection_points: Improve comment about disabled isolation permutation
baa1ae04committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Add isolation test template in injection_points for wait/wakeup/detachOct 30, 2024
ReviewerRefactor GetLockStatusData() to skip backends/groups without fast-path locks.
86c30cefcommitted by Fujii Masao
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Refactor GetLockStatusData() by skipping unused backends and groupsOct 24, 2024
Reviewerinjection_points: Add basic isolation test
a7800cf4committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Add isolation test template in injection_points for wait/wakeup/detachOct 21, 2024
AuthorAdd contrib/pg_logicalinspect.
7cdfeee3committed by Masahiko Sawada
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Add contrib/pg_logicalsnapinspectOct 15, 2024
AuthorMove SnapBuild and SnapBuildOnDisk structs to snapshot_internal.h.
e2fd615ecommitted by Masahiko Sawada
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Add contrib/pg_logicalsnapinspectOct 15, 2024
AuthorUse construct_array_builtin for FLOAT8OID instead of construct_array.
4681ad4bcommitted by Masahiko Sawada
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Missing deconstruct_array_builtin usageOct 14, 2024
AuthorUse deconstruct_array_builtin instead of deconstruct_array
099c572dcommitted by Álvaro Herrera
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Missing deconstruct_array_builtin usageOct 11, 2024
ReviewerExtend PgStat_HashKey.objid from 4 to 8 bytes
b14e9ce7committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Switch PgStat_HashKey.objoid from Oid to uint64Sep 18, 2024
ReviewerAdd callbacks to control flush of fixed-numbered stats
fc415edfcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Add callbacks for fixed-numbered stats flush in pgstatsSep 09, 2024
AuthorLLMBackportedFix incorrect pg_stat_io output on 32-bit machines.
129a2f66committed by Tom Lane
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.0REL_16_STABLE16.5
Remove one TimestampTzGetDatum call in pg_stat_get_io()Sep 06, 2024
ReviewerAdd callback for backend initialization in pgstats
1b373aedcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Add callback in pgstats for backend initializationSep 05, 2024
AuthorDefine PG_TBLSPC_DIR for path pg_tblspc/ in data folder
c7cd2d6ecommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
define PG_REPLSLOT_DIRSep 03, 2024
AuthorDefine PG_LOGICAL_DIR for path pg_logical/ in data folder
c39afc38committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
define PG_REPLSLOT_DIRAug 30, 2024
AuthorDefine PG_REPLSLOT_DIR for path pg_replslot/ in data folder
2065ddf5committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
define PG_REPLSLOT_DIRAug 30, 2024
ReviewerRemove volatile qualifiers from pg_stat_statements.c.
89288177committed by Nathan Bossart
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
remove volatile qualifiers from pg_stat_statementsAug 06, 2024
AuthorFix comments in instr_time.h and remove an unneeded cast to int64
3dcb09decommitted by Heikki Linnakangas
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Fix comments in instr_time.h and remove an unneeded cast to int64Aug 06, 2024
Reviewerinjection_points: Add some fixed-numbered statistics
f68cd847committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Pluggable cumulative statisticsAug 05, 2024
Reviewerinjection_points: Add some cumulative stats for injection points
75534436committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Pluggable cumulative statisticsAug 05, 2024
ReviewerAdd helper routines to retrieve data for custom fixed-numbered pgstats
2eff9e67committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Pluggable cumulative statisticsAug 05, 2024
ReviewerIntroduce pluggable APIs for Cumulative Statistics
7949d959committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Pluggable cumulative statisticsAug 04, 2024
ReviewerSwitch PgStat_Kind from an enum to a uint32 type
3188a458committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Pluggable cumulative statisticsAug 01, 2024
ReviewerAdd redo LSN to pgstats files
b8608482committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Flush pgstats file during checkpointsAug 01, 2024
ReviewerAdd more debugging information when failing to read pgstats files
ca1ba50fcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Flush pgstats file during checkpointsJul 30, 2024
ReviewerMake write of pgstats file durable at shutdown
ec678692committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Flush pgstats file during checkpointsJul 17, 2024
AuthorImprove comment of pgstat_read_statsfile()
72c0b24bcommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Pluggable cumulative statisticsJul 12, 2024
ReviewerAdd a new 'F' entry type for fixed-numbered stats in pgstats file
9e4664d9committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Pluggable cumulative statisticsJul 11, 2024
ReviewerAdd PgStat_KindInfo.init_shmem_cb
21471f18committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Pluggable cumulative statisticsJul 11, 2024
ReviewerTo improve the code, move the error check in logical_read_xlog_page().
571f7f70committed by Amit Kapila
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
walsender.c comment with no context is hard to understandJul 09, 2024
ReviewerUse pgstat_kind_infos to write fixed shared statistics
b68b29bccommitted by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Pluggable cumulative statisticsJul 09, 2024
ReviewerReplace hardcoded identifiers of pgstats file by #defines
9fd02525committed by Michael Paquier
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
Pluggable cumulative statisticsJul 03, 2024
ReviewerBackportedRename standby_slot_names to synchronized_standby_slots.
2357c922committed by Amit Kapila
master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17beta3
New standby_slot_names GUC in PG 17Jul 01, 2024
AuthorBackportedAdd more debugging information when dropping twice pgstats entry
d92573adcommitted by Michael Paquier
master17beta2REL_19_STABLE17beta2REL_18_STABLE17beta2REL_17_STABLE17beta2REL_16_STABLE16.4REL_15_STABLE15.8
error "can only drop stats once" brings down databaseLog details for stats dropped more than onceJun 07, 2024
ReviewerDoc: Add the new section "Logical Replication Failover".
b560a98acommitted by Amit Kapila
master17beta2REL_19_STABLE17beta2REL_18_STABLE17beta2REL_17_STABLE17beta2
Synchronizing slots from primary to standbyJun 07, 2024
ReviewerPost-commit review fixes for slot synchronization.
db08e8c6committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
promotion related handling in pg_sync_replication_slots()Apr 25, 2024
ReviewerFix the handling of the failover option in subscription commands.
b29cbd3dcommitted by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Disallow changing slot's failover option in transaction blockApr 23, 2024
ReviewerFix the review comments and a bug in the slot sync code.
3741f2a0committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyApr 12, 2024
ReviewerAllow synced slots to have their inactive_since.
6f132ed6committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Introduce XID age and inactive timeout based replication slot invalidationpgsql: Track last_inactive_time in pg_replication_slots.Apr 05, 2024
AuthorAdd "ABI_compatibility" regions to wait_event_names.txt
f98dbdebcommitted by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Autogenerate some wait events code and documentationApr 04, 2024
ReviewerEnsure that the sync slots reach a consistent state after promotion without losing data.
2ec005b4committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyApr 03, 2024
ReviewerChange last_inactive_time to inactive_since in pg_replication_slots.
6d49c8d4committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
pgsql: Track last_inactive_time in pg_replication_slots.Introduce XID age and inactive timeout based replication slot invalidationMar 27, 2024
ReviewerTrack last_inactive_time in pg_replication_slots.
a11f330bcommitted by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Introduce XID age and inactive timeout based replication slot invalidationMar 25, 2024
ReviewerTrack invalidation_reason in pg_replication_slots.
6ae701b4committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Introduce XID age and inactive timeout based replication slot invalidationMar 22, 2024
ReviewerAdd some asserts based on LWLockHeldByMe() for replication slot statistics
77cf6a78committed by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Spurious pgstat_drop_replslot() callMar 12, 2024
AuthorKeep replication slot statistics on invalidation
d6e171fecommitted by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Spurious pgstat_drop_replslot() callMar 12, 2024
ReviewerRemove redundant fetch of the recent flush pointer in WalSndWaitForWal.
397cd0b3committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Regardign RecentFlushPtr in WalSndWaitForWal()Mar 12, 2024
AuthorDoc: Warn about two_phase when altering a subscription's slot name.
21e3a8bccommitted by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Documentation: warn about two_phase when altering a subscriptionMar 11, 2024
AuthorImprove consistency of replication slot statistics
b36fbd9fcommitted by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Missing LWLock protection in pgstat_reset_replslot()Mar 11, 2024
ReviewerIntroduce a new GUC 'standby_slot_names'.
bf279dddcommitted by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyMar 08, 2024
AuthorAdd recovery TAP test for race condition with slot invalidations
08a52ab1committed by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Fix race condition in InvalidatePossiblyObsoleteSlot()Mar 06, 2024
AuthorAdd PostgreSQL::Test::Cluster::wait_for_event()
eca2c1eacommitted by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Injection points: some tools to wait and wakeMar 04, 2024
ReviewerAdd regression test for restart points during promotion
6782709dcommitted by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Injection points: some tools to wait and wakeMar 04, 2024
Reviewerinjection_points: Add wait and wakeup of processes
37b369dccommitted by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Injection points: some tools to wait and wakeMar 04, 2024
AuthorFixups for commit 93db6cbda0.
b3f6b14ccommitted by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyFeb 29, 2024
ReviewerAdd a new slot sync worker to synchronize logical slots.
93db6cbdcommitted by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyFeb 22, 2024
AuthorBackportedFix race leading to incorrect conflict cause in InvalidatePossiblyObsoleteSlot()
818fefd8committed by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3
Fix race condition in InvalidatePossiblyObsoleteSlot()Feb 20, 2024
AuthorBackporteddoc: Use system-username instead of system-user
01ec4d89committed by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3
Avoid switching between system-user and system-username in the docFeb 20, 2024
AuthorLLMBackportedFix test race between primary XLOG_RUNNING_XACTS and standby logical slot.
0e162810committed by Noah Misch
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3
Why is subscription/t/031_column_list.pl failing so much?Feb 19, 2024
ReviewerAdd more LOG and DEBUG messages for slot synchronization.
7a424ececommitted by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyFeb 16, 2024
ReviewerAdd a slot synchronization function.
ddd5f4f5committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyFeb 14, 2024
ReviewerEnhance libpqrcv APIs to support slot synchronization.
dafbfed9committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyFeb 05, 2024
ReviewerAdd a failover option to subscriptions.
776621a5committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyJan 30, 2024
ReviewerAllow setting failover property in the replication command.
73292404committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyJan 29, 2024
ReviewerAllow to enable failover property for replication slots via SQL API.
c393308bcommitted by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Synchronizing slots from primary to standbyJan 25, 2024
AuthorBackportedImprove stability of recovery test 035_standby_logical_decoding
46d8587bcommitted by Michael Paquier
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.2
BF animal dikkop reported a failure in 035_standby_logical_decodingTest slots invalidations in 035_standby_logical_decoding.pl only if dead rows are removedJan 23, 2024
ReviewerCross-check lists of predefined LWLocks.
5b1b9bcecommitted by Nathan Bossart
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
verify predefined LWLocks have entries in wait_event_names.txtJan 09, 2024
ReviewerTrack conflict_reason in pg_replication_slots.
007693f2committed by Amit Kapila
master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
Track in pg_replication_slots the reason why slots conflict?Jan 04, 2024