aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSamplescan.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2016-12-21 13:47:13 -0500
committerStephen Frost <sfrost@snowman.net>2016-12-21 13:47:13 -0500
commite45319bb7796e3ab8095da329a1f73d22aaa57c4 (patch)
tree4ed353d2169bffc806e38fb4f423fec6f907a295 /src/backend/executor/nodeSamplescan.c
parenta46ee6b30ae9cba3ece5b4b5912969c74969f274 (diff)
downloadpostgresql-e45319bb7796e3ab8095da329a1f73d22aaa57c4.tar.gz
postgresql-e45319bb7796e3ab8095da329a1f73d22aaa57c4.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/backend/executor/nodeSamplescan.c')
0 files changed, 0 insertions, 0 deletions