pgsql: Pin the built-in index access methods.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Pin the built-in index access methods.
Date: 2016-05-19 18:40:08
Message-ID: E1b3Srg-0002Rp-4T@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Pin the built-in index access methods.

This was overlooked in commit 473b93287, which introduced DROP ACCESS
METHOD. Although that command is restricted to superusers, we don't want
even superusers dropping the built-in methods; "DROP ACCESS METHOD btree"
in particular is unrecoverable from. Pin these objects in the same way
that other initdb-created objects are pinned.

I chose to bump catversion for this fix. That's not absolutely necessary
perhaps, but it will ensure that no 9.6 production systems are missing
the pin entries.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/16ea51a263bfbb009ba73f36494f49246933e93c

Modified Files
--------------
src/bin/initdb/initdb.c | 2 ++
src/include/catalog/catversion.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-05-20 19:00:14 pgsql: Improve documentation about pg_dump's --quote-all-identifiers sw
Previous Message Mikael Kjellström 2016-05-18 06:03:17 Re: Re: [COMMITTERS] pgsql: Allocate all page images at once in generic wal interface