- Notifications
You must be signed in to change notification settings - Fork5
Commitdef30e8
committed
Don't try to fetch database name when SetTransactionIdLimit() is executed
outside a transaction.This repairs brain fade in my patch of 2009-08-30: the reason we had beenstoring oldest-database name, not OID, in ShmemVariableCache was of courseto avoid having to do a catalog lookup at times when it might be unsafe.This error explains why Aleksandr Dushein is having trouble getting out ofan XID wraparound state in bug #5718, though not how he got into that statein the first place. I suspect pg_upgrade is at fault there.1 parent17a1666 commitdef30e8
1 file changed
+14
-4
lines changedLines changed: 14 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
346 | 347 |
| |
347 | 348 |
| |
348 | 349 |
| |
349 |
| - | |
| 350 | + | |
350 | 351 |
| |
351 | 352 |
| |
352 |
| - | |
353 |
| - | |
354 |
| - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
355 | 360 |
| |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
356 | 366 |
| |
357 | 367 |
| |
358 | 368 |
| |
|
0 commit comments
Comments
(0)