summaryrefslogtreecommitdiff
path: root/src/pl/plperl/sql/plperl.sql
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:41:04 -0400
commite150773ffad96e13184c57e98bd07229840de3f4 (patch)
tree188b60669f4b5bb7f94be07914a15bcb53f84e75 /src/pl/plperl/sql/plperl.sql
parentdbd68df9b636d4b36469dab7281a2e7d38863570 (diff)
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/pl/plperl/sql/plperl.sql')
0 files changed, 0 insertions, 0 deletions