From: | Michael Glaesemann <grzm(at)seespotcode(dot)net> |
---|---|
To: | "Greg Sabino Mullane" <greg(at)turnstep(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: quote_literal with NULL |
Date: | 2007-10-10 16:51:28 |
Message-ID: | F10B2D20-485F-4806-BC74-F6407D62F5F1@seespotcode.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Oct 10, 2007, at 11:24 , Greg Sabino Mullane wrote:
> (Aside: seems to me that
> SET foo = NULL; really should be SET foo TO NULL; to be consistent
> with WHERE foo IS NULL;)
The = character has different meanings in these two cases.
UPDATE foos
SET foo = NULL -- assignment
WHERE bar IS NULL -- comparison
AND foo = 'ignore me' -- comparison
Or is that what the smiley was about? :)
Michael Glaesemann
grzm seespotcode net
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-10-10 16:51:35 | Re: quote_literal with NULL |
Previous Message | Hiroshi Saito | 2007-10-10 16:49:30 | Re: permission denied for tablespace pg_global? |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-10-10 16:51:35 | Re: quote_literal with NULL |
Previous Message | Greg Sabino Mullane | 2007-10-10 16:24:59 | Re: quote_literal with NULL |