Search Postgresql Archives

Re: How to avoid UPDATE on same data in table ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Condor <condor@xxxxxxxxxx> 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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux