"Kevin Grittner" <kevin.gritt...@wicourts.gov> writes: > Tom Lane <t...@sss.pgh.pa.us> wrote: >> This amounts to assuming that no new indexes get added to system >> catalogs after initdb, or at least not during concurrent >> operations wherein indcheckxmin would be important. > Sounds reasonable, but can we enforce it through locks rather than > assuming, or isn't there a clear way to do that without risking > deadlocks?
Well, we already enforce it through the allow_system_table_mods mechanism: regression=# create index foo on pg_index(indcheckxmin); ERROR: permission denied: "pg_index" is a system catalog Yes, you can turn that off if you try hard enough, but it's on your own head to know the consequences. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers