Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbyXM-0002hq-Pf for pgsql-committers@arkaria.postgresql.org; Tue, 15 Sep 2015 22:17:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZbyXM-0003q9-3W for pgsql-committers@arkaria.postgresql.org; Tue, 15 Sep 2015 22:17:16 +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 1ZbyXK-0003ph-Mm for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 22:17:14 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZbyXC-0004K2-C0 for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 22:17:12 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [179.57.24.220]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id CBA37401074; Tue, 15 Sep 2015 15:16:58 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 7B31947C; Tue, 15 Sep 2015 19:16:55 -0300 (CLT) Date: Tue, 15 Sep 2015 19:16:55 -0300 From: Alvaro Herrera To: Stephen Frost Cc: Tom Lane , pgsql-committers@postgresql.org Subject: Re: pgsql: RLS refactoring Message-ID: <20150915221655.GK88970@alvherre.pgsql> References: <22678.1442348981@sss.pgh.pa.us> <20150915220002.GB3685@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150915220002.GB3685@tamriel.snowman.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.5 (--) 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 wrote: > * Tom Lane (tgl@sss.pgh.pa.us) wrote: > > Stephen Frost writes: > > > > 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. > > The WithCheckOption node which was changed doesn't ever end up in the > catalog, I don't believe; certainly not in pg_policy which just stores > the expressions which come from transformWhereClause, which haven't > changed. Uhm, so why is it in readfuncs.c? If you create a view "WITH CHECK OPTION", the pg_rewrite row says ":withCheckOptions <>". Does that not change with your commit? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers