pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Robert Treat <rob@xzilla.net>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
Subject: Re: Clarify VACUUM FULL exclusion in total_vacuum_time docs
Date: Tue, 15 Jul 2025 07:44:17 +0200
Message-ID: <213ce4a8cc0e481229bdf2198f5c44285eb3e53a.camel@cybertec.at> (raw)
In-Reply-To: <b1cfd248-6860-4a95-bb62-07009f5e486e@oss.nttdata.com>
References: <2ac375d1-591b-4f1b-a2af-f24335567866@oss.nttdata.com>
	<CAKFQuwYgErraNuAUme-6dSwmwNSSStC8SL7560Qy2sAtUG5J+Q@mail.gmail.com>
	<CABV9wwMs4g9nq-fKy=fFqU-rQUf6fiCqJg4_+MkqOnJE1n2TBA@mail.gmail.com>
	<f58eb77f-0d8f-4f58-bed2-a100bd7e0814@oss.nttdata.com>
	<CAJSLCQ3YPKaB7tQDyg8BbVuo80EGn_j6kycNGG3oZB59P8tgrg@mail.gmail.com>
	<bb97b8d4-2f44-4b95-9b82-a54ecbce9e76@oss.nttdata.com>
	<CAJSLCQ27T5utjOipbaqArGCPS1VT+2Uqx_g2NH3od_spHxkoig@mail.gmail.com>
	<b1cfd248-6860-4a95-bb62-07009f5e486e@oss.nttdata.com>

On Tue, 2025-07-15 at 01:51 +0900, Fujii Masao wrote:
> 
> On 2025/06/18 6:53, Robert Treat wrote:
> > I think the more cases where you document this behavior (and I do like
> > the idea of documenting it for total_vacuum_time), the more one is
> > likely to think that places where it is not documented operate
> > differently. To that end, I think documenting it for
> > n_ins_since_vacuum as well is a good idea, but I don't feel strongly
> > that it needs to be backpatched; the old documentation wasn't wrong
> > per se, rather this is a documentation improvement as a result of new
> > development.
> 
> Agreed. The attached patch updates the docs to clarify that both
> total_vacuum_time and n_ins_since_vacuum exclude VACUUM FULL.
> 
> Unless there are any objections, I'll commit this to master and
> back-patch it to v18 only.

I think the patch is good.

One question for me is whether we should use "VACUUM (FULL)" rather
than "VACUUM FULL".

On the one hand, the documentation (and most users) still use the
old syntax without parentheses almost everywhere.

On the other hand, reading the VACUUM reference page, I get the
feeling that the new syntax with parentheses should be favored.
After all, the old syntax doesn't support any of the recently
added options and restricts the option order.

So perhaps we should start propagating the parentheses more, and
the documentation is the perfect place to do that.

Yours,
Laurenz Albe





view thread (12+ messages)  latest in thread

Message-ID: <213ce4a8cc0e481229bdf2198f5c44285eb3e53a.camel@cybertec.at>
Permalink:  ../213ce4a8cc0e481229bdf2198f5c44285eb3e53a.camel@cybertec.at/
Also on:    postgresql.org/message-id/213ce4a8cc0e481229bdf2198f5c44285eb3e53a.camel@cybertec.at

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-docs@postgresql.org
  Cc: laurenz.albe@cybertec.at, masao.fujii@oss.nttdata.com, rob@xzilla.net, david.g.johnston@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Clarify VACUUM FULL exclusion in total_vacuum_time docs
  In-Reply-To: <213ce4a8cc0e481229bdf2198f5c44285eb3e53a.camel@cybertec.at>

* 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