pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pglogparser - pglogparser: New Directory
3+ messages / 2 participants
[nested] [flat]

* pglogparser - pglogparser: New Directory
@ 2009-04-02 14:18  User Kpierno <kpierno@pgfoundry.org>
  0 siblings, 0 replies; 3+ messages in thread

From: kpierno@pgfoundry.org @ 2009-04-02 14:18 UTC (permalink / raw)
  To: pgsql-committers

Update of /cvsroot/pglogparser/pglogparser/dblogs
In directory pgfoundry.org:/tmp/cvs-serv81550/dblogs

Log Message:
Directory /cvsroot/pglogparser/pglogparser/dblogs added to the repository





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pglogparser - pglogparser: New Directory
@ 2009-04-02 14:20  User Kpierno <kpierno@pgfoundry.org>
  0 siblings, 0 replies; 3+ messages in thread

From: kpierno@pgfoundry.org @ 2009-04-02 14:20 UTC (permalink / raw)
  To: pgsql-committers

Update of /cvsroot/pglogparser/pglogparser/image
In directory pgfoundry.org:/tmp/cvs-serv94363/image

Log Message:
Directory /cvsroot/pglogparser/pglogparser/image added to the repository





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Track invalidation_reason in pg_replication_slots.
@ 2024-03-22 08:38  Amit Kapila <akapila@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Amit Kapila @ 2024-03-22 08:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Track invalidation_reason in pg_replication_slots.

Till now, the reason for replication slot invalidation is not tracked
directly in pg_replication_slots. A recent commit 007693f2a3 added
'conflict_reason' to show the reasons for slot conflict/invalidation, but
only for logical slots.

This commit adds a new column 'invalidation_reason' to show invalidation
reasons for both physical and logical slots. And, this commit also turns
'conflict_reason' text column to 'conflicting' boolean column (effectively
reverting commit 007693f2a3). The 'conflicting' column is true for
invalidation reasons 'rows_removed' and 'wal_level_insufficient' because
those make the slot conflict with recovery. When 'conflicting' is true,
one can now look at the new 'invalidation_reason' column for the reason
for the logical slot's conflict with recovery.

The new 'invalidation_reason' column will also be useful to track other
invalidation reasons in the future commit.

Author: Bharath Rupireddy
Reviewed-by: Bertrand Drouvot, Amit Kapila, Shveta Malik
Discussion: https://www.postgresql.org/message-id/ZfR7HuzFEswakt/a%40ip-10-97-1-34.eu-west-3.compute.internal
Discussion: https://www.postgresql.org/message-id/CALj2ACW4aUe-_uFQOjdWCEN-xXoLGhmvRFnL8SNw_TZ5nJe+aw@mail.gmail...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6ae701b4378db2284c77314560e95a93d0ba9484

Modified Files
--------------
doc/src/sgml/ref/pgupgrade.sgml                    |  4 +-
doc/src/sgml/system-views.sgml                     | 25 +++++++----
src/backend/catalog/system_views.sql               |  3 +-
src/backend/replication/logical/slotsync.c         |  2 +-
src/backend/replication/slot.c                     | 49 ++++++++++------------
src/backend/replication/slotfuncs.c                | 25 +++++++----
src/bin/pg_upgrade/info.c                          |  4 +-
src/include/catalog/catversion.h                   |  2 +-
src/include/catalog/pg_proc.dat                    |  6 +--
src/include/replication/slot.h                     |  2 +-
.../recovery/t/035_standby_logical_decoding.pl     | 35 ++++++++--------
.../recovery/t/040_standby_failover_slots_sync.pl  |  4 +-
src/test/regress/expected/rules.out                |  5 ++-
13 files changed, 94 insertions(+), 72 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-03-22 08:38 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-04-02 14:18 pglogparser - pglogparser: New Directory User Kpierno <kpierno@pgfoundry.org>
2009-04-02 14:20 pglogparser - pglogparser: New Directory User Kpierno <kpierno@pgfoundry.org>
2024-03-22 08:38 pgsql: Track invalidation_reason in pg_replication_slots. Amit Kapila <akapila@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox