From: Álvaro Herrera Date: Tue, 7 Apr 2026 13:33:55 +0000 (+0200) Subject: doc: Add an example of REPACK (CONCURRENTLY) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb95a8ab6e511c049066a03fe9b81fe83ff937b;p=thirdparty%2Fpostgresql.git doc: Add an example of REPACK (CONCURRENTLY) Suggested-by: vignesh C Discussion: https://postgr.es/m/CALDaNm3tiKhtegx5Cawi34UjbHmNGEDNAtScGM1RgWRtV-5_0Q@mail.gmail.com --- diff --git a/doc/src/sgml/ref/repack.sgml b/doc/src/sgml/ref/repack.sgml index e993dfb3108..ac020406d11 100644 --- a/doc/src/sgml/ref/repack.sgml +++ b/doc/src/sgml/ref/repack.sgml @@ -390,13 +390,21 @@ REPACK employees; Repack the table employees on the basis of its - index employees_ind (Since index is used here, this is + index employees_ind (since an index is specified, this is effectively clustering): REPACK employees USING INDEX employees_ind; + + Repack the employees table following the same index + as was used before, in concurrent mode: + +REPACK (CONCURRENTLY) employees USING INDEX; + + + Repack the table cases on physical ordering, running an ANALYZE on the given columns once