]> granicus.if.org Git - postgresql/commit
Assert(IsTransactionState()) in RelationIdGetRelation().
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Feb 2014 16:28:13 +0000 (11:28 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Feb 2014 16:28:13 +0000 (11:28 -0500)
commitddfc9cb054abed4d08cc2709c9b2197dab96f449
tree98d56dd294a04a0ed7ef9f28734e769b35f1bf41
parentf31005e340c55948df6ab64370ce5cf202935f89
Assert(IsTransactionState()) in RelationIdGetRelation().

Commit 42c80c696e9c8323841180029cc62741c21bd356 added an
Assert(IsTransactionState()) in SearchCatCache(), to catch
any code that thought it could do a catcache lookup outside
transactions.  Extend the same idea to relcache lookups.
src/backend/utils/cache/relcache.c