Re: minimal update - Mailing list pgsql-hackers

From Decibel!
Subject Re: minimal update
Date
Msg-id 2287072E-57C6-4FCE-A37D-306B4DB8B20D@decibel.org
Whole thread Raw
In response to minimal update  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: minimal update  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Nov 2, 2007, at 10:49 AM, Andrew Dunstan wrote:
>    update tname set foo = bar ... where foo is null or foo <> bar ...

FYI, you should be able to do WHERE foo IS DISTINCT FROM bar instead.
-- 
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Simplifying Text Search
Next
From: Andrew Dunstan
Date:
Subject: Re: minimal update