Re: synchronized snapshots - Mailing list pgsql-hackers

From Thom Brown
Subject Re: synchronized snapshots
Date
Msg-id CAA-aLv4g80uHZcORvt80bUz8rkj+JDiGB9sYh0PESZgBa-sr7w@mail.gmail.com
Whole thread Raw
In response to Re: synchronized snapshots  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 23 October 2011 03:15, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thom Brown <thom@linux.com> writes:
>> Can I ask why it doesn't return the same snapshot ID each time?
>> Surely it can't change since you can only export the snapshot of a
>> serializable or repeatable read transaction?
>
> No, that's incorrect.  You can export from a READ COMMITTED transaction;
> indeed, you'd more or less have to, if you want the control transaction
> to be able to see what the slaves do.

My bad.  I didn't read the documentation carefully enough.  I can make
sense of it now.

Thanks

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Deferrable unique constraints vs join removal -- bug?
Next
From: Wojciech Muła
Date:
Subject: [PL/pgSQL] %TYPE and array declaration - second patch