Re: Should we SetQuerySnapshot() between actions of a rule?
От
Tom Lane
Тема
Re: Should we SetQuerySnapshot() between actions of a rule?
Дата
Msg-id
17343.1051810520@sss.pgh.pa.us
Ответ на
Re: Should we SetQuerySnapshot() between actions of a rule? (Andrew Sullivan)
Список
Дерево обсуждения
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 по дате отправления