diff options
author | Amit Kapila <akapila@postgresql.org> | 2024-03-27 09:27:44 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2024-03-27 09:27:44 +0530 |
commit | 6d49c8d4b4f4a20eb5b4c501d78cf894fa13c0ea (patch) | |
tree | 67eaaf5d79dea7aede098b19222897923894be78 /doc/src | |
parent | bb952c8c8b13279eca039499249cb5dc60991603 (diff) | |
download | postgresql-6d49c8d4b4f4a20eb5b4c501d78cf894fa13c0ea.tar.gz postgresql-6d49c8d4b4f4a20eb5b4c501d78cf894fa13c0ea.zip |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/system-views.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/system-views.sgml b/doc/src/sgml/system-views.sgml index 5f4165a945d..3c8dca8ca30 100644 --- a/doc/src/sgml/system-views.sgml +++ b/doc/src/sgml/system-views.sgml @@ -2525,10 +2525,10 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx <row> <entry role="catalog_table_entry"><para role="column_definition"> - <structfield>last_inactive_time</structfield> <type>timestamptz</type> + <structfield>inactive_since</structfield> <type>timestamptz</type> </para> <para> - The time at which the slot became inactive. + The time since the slot has become inactive. <literal>NULL</literal> if the slot is currently being used. </para></entry> </row> |