agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Rework REPACK's documentation on clustering
2+ messages / 1 participants
[nested] [flat]

* pgsql: Rework REPACK's documentation on clustering
@ 2026-09-10 15:58 Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Álvaro Herrera @ 2026-09-10 15:58 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Rework REPACK's documentation on clustering

Commit ac58465e0618 moved the discussion on clustering from CLUSTER's
refpage to REPACK's, but somehow introduced a mistake regarding when
exactly can the seqscan-and-sort strategy be used with respect to btrees
(spoiler: it was 100% backwards).  Fix that, but also restructure and
reword the whole subsection more fully to try and make it more coherent.

Author: Chao Li <li.evan.chao@gmail.com>
Author: Álvaro Herrera <alvherre@kurilemu.de>
Reported-by: Antonin Houska <ah@cybertec.at>
Backpatch-through: 19
Discussion: https://postgr.es/m/69CA7636-0359-42B6-B971-16A036698187@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8db08e2522954916009dccdd88a634b1658bc522

Modified Files
--------------
doc/src/sgml/ref/repack.sgml  | 75 +++++++++++++++++++++++--------------------
src/backend/commands/repack.c | 10 +++---
2 files changed, 46 insertions(+), 39 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Rework REPACK's documentation on clustering
@ 2026-09-10 15:58 Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Álvaro Herrera @ 2026-09-10 15:58 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Rework REPACK's documentation on clustering

Commit ac58465e0618 moved the discussion on clustering from CLUSTER's
refpage to REPACK's, but somehow introduced a mistake regarding when
exactly can the seqscan-and-sort strategy be used with respect to btrees
(spoiler: it was 100% backwards).  Fix that, but also restructure and
reword the whole subsection more fully to try and make it more coherent.

Author: Chao Li <li.evan.chao@gmail.com>
Author: Álvaro Herrera <alvherre@kurilemu.de>
Reported-by: Antonin Houska <ah@cybertec.at>
Backpatch-through: 19
Discussion: https://postgr.es/m/69CA7636-0359-42B6-B971-16A036698187@gmail.com

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/07aef52eba3c2b10fb706f2ac48819597a339067

Modified Files
--------------
doc/src/sgml/ref/repack.sgml  | 75 +++++++++++++++++++++++--------------------
src/backend/commands/repack.c | 10 +++---
2 files changed, 46 insertions(+), 39 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-09-10 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 15:58 pgsql: Rework REPACK's documentation on clustering Álvaro Herrera <alvherre@kurilemu.de>
2026-09-10 15:58 pgsql: Rework REPACK's documentation on clustering Álvaro Herrera <alvherre@kurilemu.de>

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