Re: Doubt on content under Routine Vacuuming section

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: sanjaya(dot)waruna(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Doubt on content under Routine Vacuuming section
Date: 2026-01-06 09:53:34
Message-ID: 194d68d70a31bd8523dd6dd578ef91dea6a6dfef.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, 2026-01-06 at 04:11 +0000, PG Doc comments form wrote:
> https://www.postgresql.org/docs/current/routine-vacuuming.html#ROUTINE-VACUUMING
> There are five points under this section;
> "In this condition any transactions already in progress can continue, but
> only read-only transactions can be started. Operations that modify database
> records or truncate relations will fail. The VACUUM command can still be run
> normally. Note that, contrary to what was sometimes recommended in earlier
> releases, it is not necessary or desirable to stop the postmaster or enter
> single user-mode in order to restore normal operation. Instead, follow these
> steps:..."
>
> In the third point it says "Use pg_stat_replication to find slots where
> age(xmin) or age(catalog_xmin) is large. In many cases, such slots were
> created for replication to servers that no longer exist, or that have been
> down for a long time."
> However, those columns, ie: xmin and catalog_xmin exists in
> pg_replication_slots metadata view. :
> https://www.postgresql.org/docs/18/view-pg-replication-slots.html
> Not in the pg_stat_replication.
>
> Please check if my observation is correct or not.

You are correct. Attached is a patch that fixes the documentation.

Yours,
Laurenz Albe

Attachment Content-Type Size
v1-0001-Fix-doc-for-recovering-from-approaching-xid-wrapa.patch text/x-patch 2.6 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Fujii Masao 2026-01-07 05:00:08 Re: Index / glossary adjustments for Git & GUC
Previous Message Fujii Masao 2026-01-06 06:30:37 Re: Index / glossary adjustments for Git & GUC