| Reviewer | injection_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 stats | Dec 30, 2024 |
| Author | Relax regression test for fsync check of backend-level stats 54637159committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | per backend I/O statistics | Dec 20, 2024 |
| Author | Add backend-level statistics to pgstats 9aea73fccommitted by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | per backend I/O statistics | Dec 19, 2024 |
| Author | Extract 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 statistics | Dec 19, 2024 |
| ReviewerBackported | Revert "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 fails | Dec 12, 2024 |
| Author | Adjust some comments about structure properties in pg_stat.h 4766438acommitted by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Fix comments related to pending statistics | Dec 12, 2024 |
| Author | Use 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 places | Dec 11, 2024 |
| AuthorBackported | Improve 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 collector | Dec 09, 2024 |
| ReviewerBackported | Fix 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 |
| AuthorBackported | Drop "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 names | Dec 03, 2024 |
| Author | Add 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_KindInfo | Nov 22, 2024 |
| AuthorBackported | doc: 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 undocumented | Nov 20, 2024 |
| Author | Use 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 |
| Author | Optimize 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 |
| Reviewer | Proper object locking for GRANT/REVOKE d31bbfb6committed by Peter Eisentraut | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Proper object locking for GRANT/REVOKE | Nov 15, 2024 |
| Author | Add an assertion in get_object_address() e468ec0fcommitted by Peter Eisentraut | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Proper object locking for GRANT/REVOKE | Nov 15, 2024 |
| ReviewerBackported | Fix 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 failure | Nov 15, 2024 |
| AuthorBackported | Clear 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 keys | Nov 05, 2024 |
| Author | Add 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 |
| Reviewer | injection_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/detach | Oct 30, 2024 |
| Reviewer | Refactor 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 groups | Oct 24, 2024 |
| Reviewer | injection_points: Add basic isolation test a7800cf4committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Add isolation test template in injection_points for wait/wakeup/detach | Oct 21, 2024 |
| Author | Add contrib/pg_logicalinspect. 7cdfeee3committed by Masahiko Sawada | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Add contrib/pg_logicalsnapinspect | Oct 15, 2024 |
| Author | Move SnapBuild and SnapBuildOnDisk structs to snapshot_internal.h. e2fd615ecommitted by Masahiko Sawada | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Add contrib/pg_logicalsnapinspect | Oct 15, 2024 |
| Author | Use construct_array_builtin for FLOAT8OID instead of construct_array. 4681ad4bcommitted by Masahiko Sawada | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Missing deconstruct_array_builtin usage | Oct 14, 2024 |
| Author | Use deconstruct_array_builtin instead of deconstruct_array 099c572dcommitted by Álvaro Herrera | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Missing deconstruct_array_builtin usage | Oct 11, 2024 |
| Reviewer | Extend PgStat_HashKey.objid from 4 to 8 bytes b14e9ce7committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Switch PgStat_HashKey.objoid from Oid to uint64 | Sep 18, 2024 |
| Reviewer | Add 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 pgstats | Sep 09, 2024 |
| AuthorLLMBackported | Fix 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 |
| Reviewer | Add callback for backend initialization in pgstats 1b373aedcommitted by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Add callback in pgstats for backend initialization | Sep 05, 2024 |
| Author | Define PG_TBLSPC_DIR for path pg_tblspc/ in data folder c7cd2d6ecommitted by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | define PG_REPLSLOT_DIR | Sep 03, 2024 |
| Author | Define PG_LOGICAL_DIR for path pg_logical/ in data folder c39afc38committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | define PG_REPLSLOT_DIR | Aug 30, 2024 |
| Author | Define PG_REPLSLOT_DIR for path pg_replslot/ in data folder 2065ddf5committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | define PG_REPLSLOT_DIR | Aug 30, 2024 |
| Reviewer | Remove volatile qualifiers from pg_stat_statements.c. 89288177committed by Nathan Bossart | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | remove volatile qualifiers from pg_stat_statements | Aug 06, 2024 |
| Author | Fix 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 int64 | Aug 06, 2024 |
| Reviewer | injection_points: Add some fixed-numbered statistics f68cd847committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Pluggable cumulative statistics | Aug 05, 2024 |
| Reviewer | injection_points: Add some cumulative stats for injection points 75534436committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Pluggable cumulative statistics | Aug 05, 2024 |
| Reviewer | Add helper routines to retrieve data for custom fixed-numbered pgstats 2eff9e67committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Pluggable cumulative statistics | Aug 05, 2024 |
| Reviewer | Introduce pluggable APIs for Cumulative Statistics 7949d959committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Pluggable cumulative statistics | Aug 04, 2024 |
| Reviewer | Switch PgStat_Kind from an enum to a uint32 type 3188a458committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Pluggable cumulative statistics | Aug 01, 2024 |
| Reviewer | Add redo LSN to pgstats files b8608482committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Flush pgstats file during checkpoints | Aug 01, 2024 |
| Reviewer | Add more debugging information when failing to read pgstats files ca1ba50fcommitted by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Flush pgstats file during checkpoints | Jul 30, 2024 |
| Reviewer | Make write of pgstats file durable at shutdown ec678692committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Flush pgstats file during checkpoints | Jul 17, 2024 |
| Author | Improve comment of pgstat_read_statsfile() 72c0b24bcommitted by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Pluggable cumulative statistics | Jul 12, 2024 |
| Reviewer | Add a new 'F' entry type for fixed-numbered stats in pgstats file 9e4664d9committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Pluggable cumulative statistics | Jul 11, 2024 |
| Reviewer | Add PgStat_KindInfo.init_shmem_cb 21471f18committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Pluggable cumulative statistics | Jul 11, 2024 |
| Reviewer | To 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 understand | Jul 09, 2024 |
| Reviewer | Use pgstat_kind_infos to write fixed shared statistics b68b29bccommitted by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Pluggable cumulative statistics | Jul 09, 2024 |
| Reviewer | Replace hardcoded identifiers of pgstats file by #defines 9fd02525committed by Michael Paquier | master18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1 | Pluggable cumulative statistics | Jul 03, 2024 |
| ReviewerBackported | Rename 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 17 | Jul 01, 2024 |
| AuthorBackported | Add 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 once | Jun 07, 2024 |
| Reviewer | Doc: Add the new section "Logical Replication Failover". b560a98acommitted by Amit Kapila | master17beta2REL_19_STABLE17beta2REL_18_STABLE17beta2REL_17_STABLE17beta2 | Synchronizing slots from primary to standby | Jun 07, 2024 |
| Reviewer | Post-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 |
| Reviewer | Fix 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 block | Apr 23, 2024 |
| Reviewer | Fix 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 standby | Apr 12, 2024 |
| Reviewer | Allow 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 |
| Author | Add "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 documentation | Apr 04, 2024 |
| Reviewer | Ensure 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 standby | Apr 03, 2024 |
| Reviewer | Change 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 invalidation | Mar 27, 2024 |
| Reviewer | Track 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 invalidation | Mar 25, 2024 |
| Reviewer | Track 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 invalidation | Mar 22, 2024 |
| Reviewer | Add some asserts based on LWLockHeldByMe() for replication slot statistics 77cf6a78committed by Michael Paquier | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Spurious pgstat_drop_replslot() call | Mar 12, 2024 |
| Author | Keep replication slot statistics on invalidation d6e171fecommitted by Michael Paquier | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Spurious pgstat_drop_replslot() call | Mar 12, 2024 |
| Reviewer | Remove 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 |
| Author | Doc: 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 subscription | Mar 11, 2024 |
| Author | Improve 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 |
| Reviewer | Introduce a new GUC 'standby_slot_names'. bf279dddcommitted by Amit Kapila | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Synchronizing slots from primary to standby | Mar 08, 2024 |
| Author | Add 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 |
| Author | Add PostgreSQL::Test::Cluster::wait_for_event() eca2c1eacommitted by Michael Paquier | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Injection points: some tools to wait and wake | Mar 04, 2024 |
| Reviewer | Add 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 wake | Mar 04, 2024 |
| Reviewer | injection_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 wake | Mar 04, 2024 |
| Author | Fixups for commit 93db6cbda0. b3f6b14ccommitted by Amit Kapila | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Synchronizing slots from primary to standby | Feb 29, 2024 |
| Reviewer | Add 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 standby | Feb 22, 2024 |
| AuthorBackported | Fix 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 |
| AuthorBackported | doc: 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 doc | Feb 20, 2024 |
| AuthorLLMBackported | Fix 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 |
| Reviewer | Add more LOG and DEBUG messages for slot synchronization. 7a424ececommitted by Amit Kapila | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Synchronizing slots from primary to standby | Feb 16, 2024 |
| Reviewer | Add a slot synchronization function. ddd5f4f5committed by Amit Kapila | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Synchronizing slots from primary to standby | Feb 14, 2024 |
| Reviewer | Enhance libpqrcv APIs to support slot synchronization. dafbfed9committed by Amit Kapila | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Synchronizing slots from primary to standby | Feb 05, 2024 |
| Reviewer | Add a failover option to subscriptions. 776621a5committed by Amit Kapila | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Synchronizing slots from primary to standby | Jan 30, 2024 |
| Reviewer | Allow setting failover property in the replication command. 73292404committed by Amit Kapila | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Synchronizing slots from primary to standby | Jan 29, 2024 |
| Reviewer | Allow 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 standby | Jan 25, 2024 |
| AuthorBackported | Improve 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 removed | Jan 23, 2024 |
| Reviewer | Cross-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.txt | Jan 09, 2024 |
| Reviewer | Track 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 |