pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Change last_inactive_time to inactive_since in pg_replication_sl
Date: Wed, 27 Mar 2024 03:59:52 +0000
Message-ID: <E1rpKS7-005s4L-VK@gemulon.postgresql.org> (raw)

Change last_inactive_time to inactive_since in pg_replication_slots.

Commit a11f330b55 added last_inactive_time to show the last time the slot
was inactive. But, it tells the last time that a currently-inactive slot
previously *WAS* active. This could be unclear, so we changed the name to
inactive_since.

Reported-by: Robert Haas
Author: Bharath Rupireddy
Reviewed-by: Bertrand Drouvot, Shveta Malik, Amit Kapila
Discussion: https://postgr.es/m/CA+Tgmob_Ta-t2ty8QrKHBGnNLrf4ZYcwhGHGFsuUoFrAEDw4sA@mail.gmail.com
Discussion: https://postgr.es/m/CALj2ACUXS0SfbHzsX8bqo+7CZhocsV52Kiu7OWGb5HVPAmJqnA@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/system-views.sgml            |  4 +-
src/backend/catalog/system_views.sql      |  2 +-
src/backend/replication/slot.c            | 17 +++++----
src/backend/replication/slotfuncs.c       |  4 +-
src/include/catalog/catversion.h          |  2 +-
src/include/catalog/pg_proc.dat           |  2 +-
src/include/replication/slot.h            |  4 +-
src/test/recovery/t/019_replslot_limit.pl | 62 +++++++++++++++----------------
src/test/regress/expected/rules.out       |  4 +-
9 files changed, 52 insertions(+), 49 deletions(-)



view thread (2+ messages)

Message-ID: <E1rpKS7-005s4L-VK@gemulon.postgresql.org>
Permalink:  ../E1rpKS7-005s4L-VK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rpKS7-005s4L-VK@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Change last_inactive_time to inactive_since in pg_replication_sl
  In-Reply-To: <E1rpKS7-005s4L-VK@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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