diff options
author | Stephen Frost <sfrost@snowman.net> | 2016-12-21 13:47:18 -0500 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2016-12-21 13:47:18 -0500 |
commit | 94476436a627d80319d49afe5724633b781e735a (patch) | |
tree | 2f136268f7df911654b9fa2862986d2a706e8a24 /src/tutorial/basics.source | |
parent | 78a98b7674cf7d5d82001f6d8d4ebcb8344fc0cd (diff) | |
download | postgresql-94476436a627d80319d49afe5724633b781e735a.tar.gz postgresql-94476436a627d80319d49afe5724633b781e735a.zip |
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
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions