Re: delete quite skip updated rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: delete quite skip updated rows
Дата
Msg-id 8676.1238165033@sss.pgh.pa.us
обсуждение исходный текст
Ответ на delete quite skip updated rows  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> explain analyze signalise one deleted row, but this is not true

This is not a bug.  The explain output tells you that one row was
found by the seqscan, which is true.  It doesn't tell you whether
the delete machinery did anything with that row.  The row could
be suppressed from deletion by a BEFORE DELETE trigger, or because
it was already updated in the current command (as is the case here).
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: New trigger option of pg_standby
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: typedefs for indent