Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 311339FA37A for ; Mon, 4 Dec 2006 22:52:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 73609-10 for ; Mon, 4 Dec 2006 22:52:52 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 3EF349FA2CC for ; Mon, 4 Dec 2006 22:52:52 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kB52qkAH025944; Mon, 4 Dec 2006 21:52:47 -0500 (EST) To: "George Pavlov" cc: pgsql-sql@postgresql.org Subject: Re: null values in non-nullable column In-reply-to: <8C5B026B51B6854CBE88121DBF097A8661E3FC@ehost010-33.exch010.intermedia.net> References: <8C5B026B51B6854CBE88121DBF097A8661E3FC@ehost010-33.exch010.intermedia.net> Comments: In-reply-to "George Pavlov" message dated "Mon, 04 Dec 2006 16:33:19 -0800" Date: Mon, 04 Dec 2006 21:52:46 -0500 Message-ID: <25943.1165287166@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/48 X-Sequence-Number: 27004 "George Pavlov" writes: > -- this creates a table with a not-nullable column (datatype > -- inherited from the original table) which contains nulls; Hm. Arguably we should discard domain-ness in any SELECT result, but I'm sure some people would complain about that ... regards, tom lane