diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-10-20 12:48:57 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-10-20 12:48:57 -0400 |
| commit | c98cd9bdb618794643b670c8240c0aad213340c7 (patch) | |
| tree | 75dd5ad2b2d15ffc6f93a1b69c70d48d43724564 /src/include/regex | |
| parent | 72ba1f2c67e058755e21165ad8efcb0849abacd5 (diff) | |
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 been
storing oldest-database name, not OID, in ShmemVariableCache was of course
to 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 of
an XID wraparound state in bug #5718, though not how he got into that state
in the first place. I suspect pg_upgrade is at fault there.
Diffstat (limited to 'src/include/regex')
0 files changed, 0 insertions, 0 deletions
