Re: WAL Bypass for indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WAL Bypass for indexes
Дата
Msg-id 11614.1144419724@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WAL Bypass for indexes  ("Nicolas Barbier" <nicolas.barbier@gmail.com>)
Список pgsql-hackers
"Nicolas Barbier" <nicolas.barbier@gmail.com> writes:
> 2006/4/3, Tom Lane <tgl@sss.pgh.pa.us>:
>> AFAICS there are no circumstances, ever, in which update-in-place is
>> "safe".  (No transaction can guarantee that it will commit.)

> Updates to row values that did not "escape" the currect transaction
> yet (ie, rows that were created by or have their last value written by
> the current transaction).

Wrong, because MVCC also applies within transactions: a snapshot having
a lower command counter than what you are executing at should not see
your change.  A typical example of this is that an update scan must not
see tuples generated by triggers fired by that scan.
        regards, tom lane


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: GIN - Generalized Inverted iNdex.
Следующее
От: "Mike Rylander"
Дата:
Сообщение: Re: Support Parallel Query Execution in Executor