Re: synchronized snapshots

Поиск
Список
Период
Сортировка
От Joachim Wieland
Тема Re: synchronized snapshots
Дата
Msg-id CACw0+13o_UitPBYwKv0ceFOgUfn=LQWR29Qq3oKBuHj7wfB1AQ@mail.gmail.com
обсуждение исходный текст
Ответ на synchronized snapshots  (Joachim Wieland <joe@mcknight.de>)
Ответы Re: synchronized snapshots
Список pgsql-hackers
On Sun, Aug 14, 2011 at 9:31 PM, Joachim Wieland <joe@mcknight.de> wrote:
> This is a patch to implement synchronized snapshots. It is based on
> Alvaro's specifications in:
>
> http://archives.postgresql.org/pgsql-hackers/2011-02/msg02074.php

Here is a new version of this patch, what has changed is that the
snapshot is now imported via:

BEGIN
[... set serializable or read committed on the BEGIN or via SET TRANSACTION ...]
SET TRANSACTION SNAPSHOT '00000801-1'

This way any failure importing the snapshot leaves the transaction in
the aborted state.

I am also attaching a small perl script that demonstrates a
serialization failure with an imported snapshot.

This is the link to the previous patch:
http://archives.postgresql.org/pgsql-hackers/2011-08/msg00684.php


Joachim

Вложения

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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: [REVIEW] Generate column names for subquery expressions
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: What Would You Like To Do?