Re: delete quite skip updated rows - Mailing list pgsql-hackers

From Tom Lane
Subject Re: delete quite skip updated rows
Date
Msg-id 8676.1238165033@sss.pgh.pa.us
Whole thread Raw
In response to delete quite skip updated rows  (Pavel Stehule <pavel.stehule@gmail.com>)
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: Re: New trigger option of pg_standby
Next
From: Alvaro Herrera
Date:
Subject: Re: typedefs for indent