From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Replace pg_class.relhasexclusion with pg_index.indisexclusion. |
Date: | 2011-01-25 22:52:31 |
Message-ID: | E1PhrkV-0007Qm-Ig@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=bd1ad1b019cda851a3e925133c056930368e6424
Modified Files
--------------
doc/src/sgml/catalogs.sgml | 26 +++++++++++---------------
src/backend/catalog/heap.c | 1 -
src/backend/catalog/index.c | 31 ++++++++++---------------------
src/backend/commands/vacuum.c | 17 ++++-------------
src/backend/parser/parse_utilcmd.c | 4 ++--
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_class.h | 24 +++++++++++-------------
src/include/catalog/pg_index.h | 24 +++++++++++++-----------
8 files changed, 52 insertions(+), 77 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-01-25 22:56:34 | pgsql: Fix thinko in ALTER FOREIGN TABLE documentation. |
Previous Message | Tom Lane | 2011-01-25 20:43:43 | pgsql: Implement ALTER TABLE ADD UNIQUE/PRIMARY KEY USING INDEX. |