Should CUSTER (ANALYZE) work?

Started by Zsolt Parragi4 months ago4 messagesbugs
Jump to latest
#1Zsolt Parragi
zsolt.parragi@percona.com

Hello

CLUSTER (ANALYZE) seems to be accepted in 19b2, but it's missing from
the documentation. It could be a documentation bug, but since the
error message it prints also references REPACK, it seems more likely
that a check is missing.

Attached patch adds an error check similar to how CONCURRENTLY is handled.

Attachments:

t253148_1
0001-Reject-the-ANALYZE-option-in-CLUSTER.patchapplication/octet-stream; name=0001-Reject-the-ANALYZE-option-in-CLUSTER.patchDownload+13-1
#2Nathan Bossart
nathandbossart@gmail.com
In reply to: Zsolt Parragi (#1)
Re: Should CUSTER (ANALYZE) work?

On Tue, Jul 21, 2026 at 10:36:55PM +0100, Zsolt Parragi wrote:

CLUSTER (ANALYZE) seems to be accepted in 19b2, but it's missing from
the documentation. It could be a documentation bug, but since the
error message it prints also references REPACK, it seems more likely
that a check is missing.

Attached patch adds an error check similar to how CONCURRENTLY is handled.

Your patch seems right to me. If nobody objects in the next day or so,
I'll go ahead and apply it.

--
nathan

#3Nathan Bossart
nathandbossart@gmail.com
In reply to: Nathan Bossart (#2)
Re: Should CUSTER (ANALYZE) work?

On Wed, Aug 12, 2026 at 02:50:34PM -0500, Nathan Bossart wrote:

Your patch seems right to me. If nobody objects in the next day or so,
I'll go ahead and apply it.

Committed.

--
nathan

#4Alvaro Herrera
alvherre@kurilemu.de
In reply to: Nathan Bossart (#3)
Re: Should CUSTER (ANALYZE) work?

On 2026-Aug-13, Nathan Bossart wrote:

On Wed, Aug 12, 2026 at 02:50:34PM -0500, Nathan Bossart wrote:

Your patch seems right to me. If nobody objects in the next day or so,
I'll go ahead and apply it.

Committed.

Thanks!

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
Maybe there's lots of data loss but the records of data loss are also lost.
(Lincoln Yeoh)