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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/ddfc9cb054abed4d08cc2709c9b2197dab96f449
Modified Files
--------------
src/backend/utils/cache/relcache.c | 3 +++
1 file changed, 3 insertions(+)