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

From Jeff Davis
Subject Re: mvcc catalo gsnapshots and TopTransactionContext
Date
Msg-id 1373568837.7928.8.camel@sussancws0025
Whole thread Raw
In response to mvcc catalo gsnapshots and TopTransactionContext  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: mvcc catalo gsnapshots and TopTransactionContext
List pgsql-hackers
On Thu, 2013-07-11 at 10:28 +0200, Andres Freund wrote:
> There doesn't seem be an explicitly stated rule that we cannot use the
> syscaches outside of a transaction - but effectively that's required
> atm.

Aren't there other things that already required that before the MVCC
catalog snapshot patch went in? For instance, if you get a syscache
miss, you have to load from the catalogs, meaning you need to acquire a
lock. I've seen problems related to that in the past:

http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=ac63dca607e8e22247defbc8fe03b6baa3628c42


Regards,Jeff Davis





pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: docbook-xsl version for release builds
Next
From: Fabien COELHO
Date:
Subject: Re: [PATCH] big test separation POC