On Fri, Mar 25, 2011 at 3:29 PM, Greg Stark <gsst...@mit.edu> wrote: > On Fri, Mar 25, 2011 at 7:06 PM, Robert Haas <robertmh...@gmail.com> wrote: >>> 1. The table has been created or truncated in the same transaction >>,,, >> That's not enough... some other transaction could see the data before >> the transaction commits. > > How?
Hmm. Maybe I'm wrong. I guess the XID would still be in the MVCC snapshot of every other running transaction, so maybe it would be OK. *scratches head* -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers