pgsql: Assert(IsTransactionState()) in RelationIdGetRelation(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Assert(IsTransactionState()) in RelationIdGetRelation().
Date
Msg-id E1WBRoN-0001k3-Nw@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Assert(IsTransactionState()) in RelationIdGetRelation().  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-committers
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(+)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Introduce replication slots.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Alphabeticize list in OBJS definition in utils/adt Makefile.