X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DADE7564E6 for ; Tue, 1 Mar 2005 14:12:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 60892-04 for ; Tue, 1 Mar 2005 14:12:24 +0000 (GMT) Received: from mnc.ch (unknown [212.23.250.43]) by svr1.postgresql.org (Postfix) with ESMTP id 2DF645547B for ; Tue, 1 Mar 2005 14:12:23 +0000 (GMT) Received: (qmail 5174 invoked from network); 1 Mar 2005 15:12:25 +0100 Received: from 62-2-77-204.business.cablecom.ch (HELO meuh.mnc.ch) (62.2.77.204) by www.mnc.ch.com with SMTP; 1 Mar 2005 15:12:25 +0100 Received: by meuh.mnc.ch (Postfix, from userid 1000) id E9FB823F50B; Tue, 1 Mar 2005 15:12:21 +0100 (CET) To: Markus Schaber Cc: pgsql-jdbc@postgresql.org Subject: Re: impossible to update rows specifying columns with NULL References: <87wtssj2c4.fsf@meuh.mnc.ch> <42237EFA.1060502@opencloud.com> <87fyzfzqgd.fsf@meuh.mnc.ch> <4224528A.3010606@opencloud.com> <422460E3.3040100@fastcrypt.com> <42247349.8030205@logi-track.com> From: Guillaume Cottenceau Date: 01 Mar 2005 15:12:21 +0100 In-Reply-To: <42247349.8030205@logi-track.com> Message-ID: <877jkrxxoa.fsf@meuh.mnc.ch> Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.053 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/12 X-Sequence-Number: 12405 Markus Schaber writes: > Hi, Guillaume, > Hi, Dave, > > Dave Cramer schrieb: > > Well, if you are really intent on using this you can set > > transform_null_equals=true in postgresql.conf > > You don't have to do this globally, you can also issue > set transform_null_equals to true; > as statement so this setting is only for your connection. Ok thanks. In the doc pointed by Oliver I can read that this NULL != NULL behaviour is per SQL standard, so I'm unsure if I should go the way of forcing the non standard behaviour.. -- Guillaume Cottenceau