aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/functioncmds.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-10-20 12:48:51 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2010-10-20 12:48:51 -0400
commitdef30e84c41389225ee9e56cb7c722980bab9746 (patch)
treec359509f505b88f50ca23915ef237ebfbea0439c /src/backend/commands/functioncmds.c
parent17a16663d0c1c70c5c70ba97de6fe2c9c6a3bc07 (diff)
downloadpostgresql-def30e84c41389225ee9e56cb7c722980bab9746.tar.gz
postgresql-def30e84c41389225ee9e56cb7c722980bab9746.zip
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/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions