Re: mvcc catalo gsnapshots and TopTransactionContext

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: mvcc catalo gsnapshots and TopTransactionContext
Date: 2013-07-15 17:32:23
Message-ID: CA+TgmoYTAUJrEjm3iR03diXryYCM5en1DF=xgpuJFbD5zb_fkw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 12, 2013 at 5:42 AM, Andres Freund <andres(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2013-07-15 17:41:26 Re: Eliminating PD_ALL_VISIBLE, take 2
Previous Message Fujii Masao 2013-07-15 17:24:06 Re: XLogInsert scaling, revisited