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