X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 77A6BD1C4DF for ; Fri, 1 Aug 2003 05:53:58 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 16079-10 for ; Fri, 1 Aug 2003 02:52:52 -0300 (ADT) Received: from megazone.bigpanda.com (45.mufb.snfc.sffca01r18.dsl.att.net [12.103.249.45]) by svr1.postgresql.org (Postfix) with ESMTP id B2B71D1C4D5 for ; Fri, 1 Aug 2003 02:53:51 -0300 (ADT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 65664D63F; Thu, 31 Jul 2003 22:53:52 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 5B18D5C10; Thu, 31 Jul 2003 22:53:52 -0700 (PDT) Date: Thu, 31 Jul 2003 22:53:52 -0700 (PDT) From: Stephan Szabo To: maillist Cc: "pgsql-admin@postgresql.org" Subject: Re: fyi In-Reply-To: <3F29F273.3A3B8137@tnss.com> Message-ID: <20030731225212.B37793-100000@megazone.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/5 X-Sequence-Number: 9728 On Thu, 31 Jul 2003, maillist wrote: > select * from apps where (not apppag = null); > returns nothing when it should return every thing No. It should return nothing. apppag = null returns unknown for every row. Use IS NULL to test if a value is null.