pgsql: For 8.0 servers, get last built-in oid from pg_database

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: For 8.0 servers, get last built-in oid from pg_database
Date: 2016-12-21 18:47:47
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

For 8.0 servers, get last built-in oid from pg_database

We didn't start ensuring that all built-in objects had OIDs less than
16384 until 8.1, so for 8.0 servers we still need to query the value out
of pg_database. We need this, in particular, to distinguish which casts
were built-in and which were user-defined.

For HEAD, we only worry about going back to 8.0, for the back-branches,
we also ensure that 7.0-7.4 work.

Discussion: https://www.postgresql.org/message-id/flat/20160504183952.GE10850%40tamriel.snowman.net

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/19990918d3fa2a445561627ed415b5891602f7fe

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 60 ++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 54 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2016-12-21 20:05:51 pgsql: Improve ALTER TABLE documentation
Previous Message Dean Rasheed 2016-12-21 17:55:47 Re: pgsql: Fix base backup rate limiting in presence of slow i/o