postgresql/src/backend/utils
Michael Paquier a40caf5f86 Preserve clustered index after rewrites with ALTER TABLE
A table rewritten by ALTER TABLE would lose tracking of an index usable
for CLUSTER.  This setting is tracked by pg_index.indisclustered and is
controlled by ALTER TABLE, so some extra work was needed to restore it
properly.  Note that ALTER TABLE only marks the index that can be used
for clustering, and does not do the actual operation.

Author: Amit Langote, Justin Pryzby
Reviewed-by: Ibrar Ahmed, Michael Paquier
Discussion: https://postgr.es/m/20200202161718.GI13621@telsasoft.com
Backpatch-through: 9.5
2020-04-06 11:03:49 +09:00
..
adt Add SQL functions for Unicode normalization 2020-04-02 08:56:27 +02:00
cache Preserve clustered index after rewrites with ALTER TABLE 2020-04-06 11:03:49 +09:00
error Go back to returning int from ereport auxiliary functions. 2020-03-25 11:57:36 -04:00
fmgr Implement operator class parameters 2020-03-30 19:17:23 +03:00
hash Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
init Recompute stack base in forked postmaster children. 2020-04-05 18:23:30 -07:00
mb Improve user control over truncation of logged bind-parameter values. 2020-04-02 15:04:51 -04:00
misc Skip WAL for new relfilenodes, under wal_level=minimal. 2020-04-04 12:25:34 -07:00
mmgr Revert "Specialize MemoryContextMemAllocated()." 2020-03-19 12:21:50 -07:00
resowner Improve performance of "simple expressions" in PL/pgSQL. 2020-03-26 18:58:57 -04:00
sort Introduce LogicalTapeSetExtend(). 2020-03-09 10:40:02 -07:00
time Update copyrights for 2020 2020-01-01 12:21:45 -05:00
.gitignore Rearrange makefile rules for running Gen_fmgrtab.pl. 2018-05-03 17:54:18 -04:00
Gen_dummy_probes.pl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Gen_dummy_probes.sed Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Gen_fmgrtab.pl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
errcodes.txt Update copyrights for 2020 2020-01-01 12:21:45 -05:00
generate-errcodes.pl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
probes.d Update copyrights for 2020 2020-01-01 12:21:45 -05:00