aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.source
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:52 -0400
commitee249498a99a1b3be9906aa91f0783939ceb1e21 (patch)
tree69bf6e99a35a458269bfa506088e5a8334f4572b /src/tutorial/complex.source
parent0c2c0f82c2cd6d2fa83955e9d767059639010ffc (diff)
downloadpostgresql-ee249498a99a1b3be9906aa91f0783939ceb1e21.tar.gz
postgresql-ee249498a99a1b3be9906aa91f0783939ceb1e21.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/tutorial/complex.source')
0 files changed, 0 insertions, 0 deletions