Replace pg_class.relhasexclusion with pg_index.indisexclusion.
Tom Lane <tgl@sss.pgh.pa.us>
Replace pg_class.relhasexclusion with pg_index.indisexclusion. There isn't any need to track this state on a table-wide basis, and trying to do so introduces undesirable semantic fuzziness. Move the flag to pg_index, where it clearly describes just a single index and can be immutable after index creation.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +11 −15 |
| src/backend/catalog/heap.c | modified | +0 −1 |
| src/backend/catalog/index.c | modified | +10 −21 |
| src/backend/commands/vacuum.c | modified | +4 −13 |
| src/backend/parser/parse_utilcmd.c | modified | +2 −2 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_class.h | modified | +11 −13 |
| src/include/catalog/pg_index.h | modified | +13 −11 |