Re: Snapshot synchronization, again...

Поиск
Список
Период
Сортировка
От Joachim Wieland
Тема Re: Snapshot synchronization, again...
Дата
Msg-id AANLkTiktRBU5M6=Zgfmodn=ZX5VkZm=K2+_TdLxhYkC0@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Snapshot synchronization, again...  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Fri, Dec 31, 2010 at 8:28 AM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> A backend can have any number of snapshots registered, and those don't
> allow GlobalXmin to advance.  Consider an open cursor, for example.
> Even if the rest of the transaction is read committed, the snapshot
> registered by the open cursor still holds back GlobalXmin.  My
> (handwavy) idea is that whenever the transaction calls
> pg_publish_snapshot(), said snapshot is registered, which makes it safe
> to use even if the transaction continues to operate and obtain newer
> snapshots.

Cool, even better that this is taken care of already :-)

Thanks,
Joachim


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Streaming replication as a separate permissions
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Sync Rep Design