Robert Haas <robertmh...@gmail.com> writes: > On Sat, Jun 30, 2012 at 5:51 AM, Andres Freund <and...@2ndquadrant.com> wrote: >> This is not surprising. psql 2's backend finds rows in the index with enum >> values that are not visible in its mvcc snapshot.
> I think the problem is that load_enum_cache_data() uses > GetTransactionSnapshot() rather than GetLatestSnapshot(). That would only make the race condition window smaller (ie, hard to reproduce manually like this, but not gone). regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers