Re: Question: update and transaction isolation

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Question: update and transaction isolation
Дата
Msg-id Pine.LNX.4.30.0204031708050.684-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Question: update and transaction isolation  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Question: update and transaction isolation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane writes:

> The reason it works in read-committed mode is that the second guy to
> arrive at the row will observe that the row has an update in progress;
> will block waiting for the previous updater to commit or abort; and if
> commit, will use the updated version of the row as the starting point
> for his update.  (This is what the EvalPlanQual ugliness in the executor
> is all about.)

Isn't that a violation of the principle that transactions in read
committed mode will look at the data that was committed *before* the
statement had begun?

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Martin Renters
Дата:
Сообщение: Re: Suggestions please: names for function cachability
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Locale support is now on by default