Condor <condor(at)stz-bg(dot)com> writes:
> I'm using PostgreSQL 12.1 and trying to avoid update on table when data
> is the same. I read somewhere if UPDATE is with the same data SQL server
> on system level does not do update on table but don't know if that is
> true or not.
It is not, at least not for PG (can't say about SQL Server). But see
suppress_redundant_updates_trigger here:
https://www.postgresql.org/docs/current/functions-trigger.html
regards, tom lane