aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-05-13 15:40:16 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-05-13 15:40:16 -0400
commite9c336c78638c191642b18628c306d1c1573fb12 (patch)
treea827caa567b7d1652a5ee65244ec5c88cc9847dd /src/backend/access/gist/gistget.c
parent904af8db8a99409257db1eed0b056c8098e9013c (diff)
downloadpostgresql-e9c336c78638c191642b18628c306d1c1573fb12.tar.gz
postgresql-e9c336c78638c191642b18628c306d1c1573fb12.zip
Fix handling of OID wraparound while in standalone mode.
If OID wraparound should occur while in standalone mode (unlikely but possible), we want to advance the counter to FirstNormalObjectId not FirstBootstrapObjectId. Otherwise, user objects might be created with OIDs in the system-reserved range. That isn't immediately harmful but it poses a risk of conflicts during future pg_upgrade operations. Noted by Andres Freund. Back-patch to all supported branches, since all of them are supported sources for pg_upgrade operations.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions