forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5ce6829
committed
Put a CHECK_FOR_INTERRUPTS call into the loops that try to find a unique new
OID or new relfilenode. If the existing OIDs are sufficiently denselypopulated, this could take a long time (perhaps even be an infinite loop),so it seems wise to allow the system to respond to a cancel interrupt here.Per a gripe from Jacky Leng.Backpatch as far as 8.1. Older versions just fail on OID collision,instead of looping.1 parentf78611b commit5ce6829
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
374 | 374 |
| |
375 | 375 |
| |
376 | 376 |
| |
| 377 | + | |
| 378 | + | |
377 | 379 |
| |
378 | 380 |
| |
379 | 381 |
| |
| |||
423 | 425 |
| |
424 | 426 |
| |
425 | 427 |
| |
| 428 | + | |
| 429 | + | |
426 | 430 |
| |
427 | 431 |
| |
428 | 432 |
| |
|
0 commit comments
Comments
(0)