Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbyaC-0002ly-CA for pgsql-committers@arkaria.postgresql.org; Tue, 15 Sep 2015 22:20:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZbyaB-0004SM-Tj for pgsql-committers@arkaria.postgresql.org; Tue, 15 Sep 2015 22:20:11 +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 1ZbyZz-000463-BH for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 22:19:59 +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 1ZbyZw-0004KT-FG for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 22:19:58 +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 t8FMJsUZ027002; Tue, 15 Sep 2015 18:19:54 -0400 From: Tom Lane To: Stephen Frost cc: pgsql-committers@postgresql.org Subject: Re: pgsql: RLS refactoring In-reply-to: <20150915220002.GB3685@tamriel.snowman.net> References: <22678.1442348981@sss.pgh.pa.us> <20150915220002.GB3685@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Tue, 15 Sep 2015 18:00:02 -0400" Date: Tue, 15 Sep 2015 18:19:54 -0400 Message-ID: <27001.1442355594@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 Stephen Frost writes: > * Tom Lane (tgl@sss.pgh.pa.us) wrote: >> It looks to me like this changed the representation of stored rules, so it >> should have included a catversion bump. This is particularly relevant to >> the 9.5 branch where people already have alpha installations. > I had considererd if a bump was needed and figured it wasn't. > I don't mind doing a bump if we feel it's necessary and maybe I'm > missing that there's a way to cause that node type to end up in the > catalog, but I don't think so, as we only ever build WithCheckOption > nodes in the rewriter. Oh, I see. In that case you should remove WithCheckOption from the set of node types supported by readfuncs.c, both because it's dead code and to clarify that the node is not meant to ever end up on disk. (outfuncs.c support is useful for debugging though, so keep that.) 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