Re: Should we SetQuerySnapshot() between actions of a rule?

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Should we SetQuerySnapshot() between actions of a rule?
Дата
в 13:35:32
Msg-id
17343.1051810520@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: Should we SetQuerySnapshot() between actions of a rule? "Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>
Andrew Sullivan  writes:
> On Thu, May 01, 2003 at 11:55:45AM -0400, Tom Lane wrote:
>> interactive execution.  But which one do we want?  I could see an
>> argument that it'd be best for all the actions of a rule to see a
>> consistent snapshot of the state of other transactions; and not doing
>> the extra SetQuerySnapshot() calls would save some cycles.

> Can't you get the consistent snapshot by running SERIALIZABLE anyway?

Yeah, but that may do more than you want (like force a rollback on
update conflicts...)
		regards, tom lane


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: select ... into question
От: Neil Conway
Дата:
FAQ