Correct docs re: rewriting indexes when table rewrite is skipped
James Coleman <jtc331@gmail.com>
From: James Coleman <jtc331@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-03-29T14:03:45Z
Lists: pgsql-hackers
Attachments
- v1-0001-Docs-When-table-rewriting-is-skipped-indexes-are-.patch (application/x-patch) patch v1-0001
Back in 367bc42 (for 9.2!) we "avoid[ed] index rebuild[ing] for no-rewrite ALTER TABLE .. ALTER TYPE." However the docs still claim that "a table rewrite is not needed; but any indexes on the affected columns must still be rebuilt." I've attached a simple patch to update the docs to match the current behavior. Thanks, James Coleman
Commits
-
docs: Changing column type doesn't always require an index rebuild.
- fa25bebb827a 15.0 landed