Correct docs re: rewriting indexes when table rewrite is skipped

From: James Coleman <jtc331(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Correct docs re: rewriting indexes when table rewrite is skipped
Date: 2022-03-29 14:03:45
Message-ID: CAAaqYe90Ea3RG=A7H-ONvTcx549-oQhp07BrHErwM=AyH2ximg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v1-0001-Docs-When-table-rewriting-is-skipped-indexes-are-.patch application/x-patch 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2022-03-29 14:08:03 Re: pgsql: Add 'basebackup_to_shell' contrib module.
Previous Message James Coleman 2022-03-29 13:53:30 Re: Document atthasmissing default optimization avoids verification table scan