Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6RFJlf71931 for ; Fri, 27 Jul 2001 11:19:47 -0400 (EDT) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 92561; Fri, 27 Jul 2001 08:19:41 -0700 From: "Josh Berkus" Subject: Re: nullif BUG??? To: "guard" , pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Fri, 27 Jul 2001 08:19:41 -0700 Message-ID: In-Reply-To: <9jrdcr$npd$1@news.tht.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_===92561====davinci.ethosmedia.com===_" X-Archive-Number: 200107/357 X-Sequence-Number: 4171 This is a multi-part MIME message --_===92561====davinci.ethosmedia.com===_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Guard, > > select nullif(NULL,5) > > +--------+ > | case | > +--------+ > | | > +--------+ > Er... what were you expecting, exactly? Except for IS NULL (and COALESCE, which uses IS NULL) any operation involving a NULL is also NULL. -Josh ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco --_===92561====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===92561====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===92561====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===92561====davinci.ethosmedia.com===_--