forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite9c336c
committed
Fix handling of OID wraparound while in standalone mode.
If OID wraparound should occur while in standalone mode (unlikely butpossible), we want to advance the counter to FirstNormalObjectId notFirstBootstrapObjectId. Otherwise, user objects might be created with OIDsin the system-reserved range. That isn't immediately harmful but it posesa risk of conflicts during future pg_upgrade operations.Noted by Andres Freund. Back-patch to all supported branches, since all ofthem are supported sources for pg_upgrade operations.1 parent904af8d commite9c336c
1 file changed
+9
-9
lines changedLines changed: 9 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
451 | 451 |
| |
452 | 452 |
| |
453 | 453 |
| |
454 |
| - | |
455 |
| - | |
456 |
| - | |
457 |
| - | |
458 |
| - | |
459 |
| - | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
460 | 460 |
| |
461 | 461 |
| |
462 | 462 |
| |
463 | 463 |
| |
464 | 464 |
| |
465 |
| - | |
| 465 | + | |
466 | 466 |
| |
467 | 467 |
| |
468 | 468 |
| |
| |||
471 | 471 |
| |
472 | 472 |
| |
473 | 473 |
| |
474 |
| - | |
475 |
| - | |
| 474 | + | |
| 475 | + | |
476 | 476 |
| |
477 | 477 |
| |
478 | 478 |
| |
|
0 commit comments
Comments
(0)