Re: getting rid of SnapshotNow

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: getting rid of SnapshotNow
Дата
Msg-id 20130726130153.GA9000@alap2.anarazel.de
обсуждение исходный текст
Ответ на Re: getting rid of SnapshotNow  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2013-07-26 08:49:38 -0400, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > OK.  I've taken care of all remaining uses of SnapshotNow in the code
> > base.  I think we can go ahead and remove it, now.  Patch attached.
> 
> > (And there was, hopefully, much rejoicing.)
> 
> What about SnapshotSelf?

I thought about that yesterday and I think we should replace the usages
which aren't easily replaceable (constraint stuff) with an mvcc
snapshot, just one treats our transaction's current CommandId as
visible. That should be doable?

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: dynamic background workers, round two
Следующее
От: Andres Freund
Дата:
Сообщение: Re: getting rid of SnapshotNow