Alvaro Herrera <[email protected]> writes:
> Tom Lane wrote:
>> ... If the trigger is succeeding (ie,
>> detecting a no-op update) often enough that it would be worth that,
>> you've really got an application-stupidity problem to fix.
> ISTM the whole point of suppress_redundant_updates_trigger is to cope
> with application stupidity.
I think it's a suitable band-aid for limited amounts of stupidity.
But it eliminates only a small fraction of the total overhead involved
in a useless update command. So I remain of the opinion that if that's
happening a lot, you're better off fixing the problem somewhere upstream.
regards, tom lane
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers