Rename cluster.c to repack.c (and corresponding .h)
Álvaro Herrera <alvherre@kurilemu.de>
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
| Path | Change | +/− |
|---|---|---|
| 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
- Adding REPACK [concurrently] 409 messages · 2025-07-26 → 2026-07-01