Re: synchronized snapshots

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: synchronized snapshots
Дата
Msg-id CAA-aLv65=ELSBQevxu-PtQVLuf0ky5f96aNbbU7KXgrEUoOykg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: synchronized snapshots  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: synchronized snapshots
Список pgsql-hackers
On 23 October 2011 00:25, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Joachim Wieland <joe@mcknight.de> writes:
>> [ synchronized snapshots patch ]
>
> Applied with, um, rather extensive editorialization.
>
> I'm not convinced that the SSI case is bulletproof yet, but it'll be
> easier to test with the code committed.

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?  A "SELECT
count(pg_export_snapshot()) FROM generate_series(1,10000000);" would
quickly bork the pg_snapshots directory which any user can run.

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

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SSI implementation question
Следующее
От: nrdb
Дата:
Сообщение: Re: database file encryption.