Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGp6h-0003L6-2U for pgsql-sql@arkaria.postgresql.org; Fri, 02 Jun 2017 16:07:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dGp6g-0000hO-LD for pgsql-sql@arkaria.postgresql.org; Fri, 02 Jun 2017 16:07:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dGp6f-0000gS-SZ for pgsql-sql@postgresql.org; Fri, 02 Jun 2017 16:07:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dGp6d-0003R9-Aw for pgsql-sql@postgresql.org; Fri, 02 Jun 2017 16:07:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v52G7HbK023127; Fri, 2 Jun 2017 12:07:17 -0400 From: Tom Lane To: basuraspam - cc: pgsql-sql@postgresql.org Subject: Re: Database views metadata always nullable columns In-reply-to: References: <12456.1496413290@sss.pgh.pa.us> Comments: In-reply-to basuraspam - message dated "Fri, 02 Jun 2017 17:33:09 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23125.1496419637.1@sss.pgh.pa.us> Date: Fri, 02 Jun 2017 12:07:17 -0400 Message-ID: <23126.1496419637@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org basuraspam - writes: > I agree, it would be better including an example. The "issue" I reported > is with database views not with tables. Taking your example as base: > create table foo (f1 int, f2 int not null); > create view foo_view as select * from foo; Ah, gotcha. No, sorry, we do not track nullability of view columns as such. regards, tom lane -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql