Re: mvcc catalo gsnapshots and TopTransactionContext - Mailing list pgsql-hackers

From Robert Haas
Subject Re: mvcc catalo gsnapshots and TopTransactionContext
Date
Msg-id CA+TgmoYTAUJrEjm3iR03diXryYCM5en1DF=xgpuJFbD5zb_fkw@mail.gmail.com
Whole thread Raw
In response to Re: mvcc catalo gsnapshots and TopTransactionContext  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On Fri, Jul 12, 2013 at 5:42 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> I'd like to add an Assert like in the attached patch making sure we're
> in a transaction. Otherwise it's far too easy not to hit an error during
> development because everything is cached - and syscache usage isn't
> always obvious from the outside to the naive or the tired.

Seems like a good idea to me.  Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: XLogInsert scaling, revisited
Next
From: Jeff Davis
Date:
Subject: Re: Eliminating PD_ALL_VISIBLE, take 2