agora inbox for [email protected]  
help / color / mirror / Atom feed
From: Antonin Houska <[email protected]>
To: jian he <[email protected]>
Cc: Matheus Alcantara <[email protected]>
Cc: Alvaro Herrera <[email protected]>
Cc: Marcos Pegoraro <[email protected]>
Cc: Michael Banck <[email protected]>
Cc: Junwang Zhao <[email protected]>
Cc: Kirill Reshke <[email protected]>
Cc: Pavel Stehule <[email protected]>
Cc: Michael Paquier <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: why there is not VACUUM FULL CONCURRENTLY?
Date: Mon, 09 Jun 2025 12:35:57 +0200
Message-ID: <118471.1749465357@localhost> (raw)
In-Reply-To: <CACJufxGE4vDVBd_KDFsTnXoMPKobx-Qqk=f8boZYKJNvUVb3AQ@mail.gmail.com>
References: <[email protected]>
	<6059.1743060030@localhost>
	<104580.1743431185@localhost>
	<178741.1743514291@localhost>
	<CAFY6G8cQs-SY0Lkv6E7YdZaCpZF0gctKW_SvqmBXB-dTXV-h2g@mail.gmail.com>
	<97992.1744363682@localhost>
	<CACJufxFfm=E1PA80Uxj26rqaRFVrHNiTycdADD1z4F+c8nQFDw@mail.gmail.com>
	<CACJufxGE4vDVBd_KDFsTnXoMPKobx-Qqk=f8boZYKJNvUVb3AQ@mail.gmail.com>

jian he <[email protected]> wrote:

> hi.
> some more minor comments about v13-0001.
> 
> GetCommandLogLevel also needs to specify LogStmtLevel for T_RepackStmt?

Fixed in [1].

> /*
>  * (CLUSTER might change the order of
>  * rows on disk, which could affect the ordering of pg_dump
>  * output, but that's not semantically significant.)
> */
> do we need adjust this comment in ClassifyUtilityCommandAsReadOnly
> for the REPACK statement?

Not sure. The current version does not mention VACUUM. (Note that VACUUM FULL
does almost the same as CLUSTER.) We can adjust the comment during the removal
of CLUSTER sometime in the future.

>   <para>
>    <productname>PostgreSQL</productname> has the ability to report the
> progress of
>    certain commands during command execution.  Currently, the only commands
>    which support progress reporting are <command>ANALYZE</command>,
>    <command>CLUSTER</command>,
>    <command>CREATE INDEX</command>, <command>VACUUM</command>,
>    <command>COPY</command>,
>    and <xref linkend="protocol-replication-base-backup"/> (i.e., replication
>    command that <xref linkend="app-pgbasebackup"/> issues to take
>    a base backup).
>    This may be expanded in the future.
>   </para>
> also need to mention <command>REPACK</command>?

Fixed in [1].

> "The CLUSTER command is deprecated",
> then do we need to say something
> in doc/src/sgml/ref/clusterdb.sgml?

I'm not convinced at the moment. The page contains a link to the documentation
of CLUSTER, which does contain the deprecation note.

It's not even clear to me whether this utility must be removed. We can adjust
it so it calls REPACK instead of CLUSTER. And while doing that, we may or may
not rename it.

[1] https://www.postgresql.org/message-id/117560.1749464355%40localhost

-- 
Antonin Houska
Web: https://www.cybertec-postgresql.com





view thread (89+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: why there is not VACUUM FULL CONCURRENTLY?
  In-Reply-To: <118471.1749465357@localhost>

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

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