Rename cluster.c to repack.c (and corresponding .h)

Álvaro Herrera <alvherre@kurilemu.de>

Commit: c0b53ec06309f955455c7d71da277991d0da4ec0
Author: Álvaro Herrera <alvherre@kurilemu.de>
Date: 2026-04-06T18:11:01Z
Rename cluster.c to repack.c (and corresponding .h)

CLUSTER is no longer the favored way to invoke this functionality, and
the code is about to shift its focus to the REPACK more ambitiously.
Rename the file to avoid leaving an unnecessary historical artifact
around.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://postgr.es/m/202603271635.owyhm7btgoic@alvherre.pgsql

Files

PathChange+/−
src/backend/commands/Makefile modified +1 −1
src/backend/commands/matview.c modified +1 −1
src/backend/commands/meson.build modified +1 −1
src/backend/commands/repack.c (from src/backend/commands/cluster.c) renamed +3 −3
src/backend/commands/tablecmds.c modified +1 −1
src/backend/commands/vacuum.c modified +3 −3
src/backend/storage/ipc/procsignal.c modified +1 −0
src/backend/tcop/postgres.c modified +1 −0
src/backend/tcop/utility.c modified +1 −1
src/include/commands/repack.h (from src/include/commands/cluster.h) renamed +6 −6

Discussion