Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zbzx5-0006KV-1V for pgsql-committers@arkaria.postgresql.org; Tue, 15 Sep 2015 23:47:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zbzx4-0001DS-JA for pgsql-committers@arkaria.postgresql.org; Tue, 15 Sep 2015 23:47:54 +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) (envelope-from ) id 1Zbzws-0000zD-Gm for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 23:47:42 +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) (envelope-from ) id 1Zbzwp-00062U-Oz for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 23:47:41 +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 t8FNlVSw028742; Tue, 15 Sep 2015 19:47:31 -0400 From: Tom Lane To: Andres Freund cc: Stephen Frost , Alvaro Herrera , pgsql-committers@postgresql.org Subject: Re: pgsql: RLS refactoring In-reply-to: <20150915234431.GE2086@alap3.anarazel.de> References: <22678.1442348981@sss.pgh.pa.us> <20150915220002.GB3685@tamriel.snowman.net> <20150915221655.GK88970@alvherre.pgsql> <27213.1442356184@sss.pgh.pa.us> <20150915224851.GD3685@tamriel.snowman.net> <28196.1442358966@sss.pgh.pa.us> <20150915234431.GE2086@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 16 Sep 2015 01:44:31 +0200" Date: Tue, 15 Sep 2015 19:47:31 -0400 Message-ID: <28741.1442360851@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-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Andres Freund writes: > On 2015-09-15 19:16:06 -0400, Tom Lane wrote: >> readfuncs.c doesn't actually stop to verify that the field name in stored >> rules is what it expects. > This reminds me: Is there a reason for that? ISTM that adding checks for > the field names would make error messages about borked stored trees much > easier to understand? Dunno, how often have you seen such an error message, and how much would it help anyway? I'm not sure it'd be worth the code and cycles to check. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers