pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: RLS refactoring
Date: Tue, 15 Sep 2015 19:16:55 -0300
Message-ID: <20150915221655.GK88970@alvherre.pgsql> (raw)
In-Reply-To: <20150915220002.GB3685@tamriel.snowman.net>
References: <E1ZbwEg-0004Ct-Qc@gemulon.postgresql.org>
	<22678.1442348981@sss.pgh.pa.us>
	<20150915220002.GB3685@tamriel.snowman.net>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Stephen Frost wrote:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
> > Stephen Frost <sfrost@snowman.net> 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



view thread (13+ messages)  latest in thread

Message-ID: <20150915221655.GK88970@alvherre.pgsql>
Permalink:  ../20150915221655.GK88970@alvherre.pgsql/
Also on:    postgresql.org/message-id/20150915221655.GK88970@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@2ndquadrant.com, sfrost@snowman.net, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: RLS refactoring
  In-Reply-To: <20150915221655.GK88970@alvherre.pgsql>
  References: <E1ZbwEg-0004Ct-Qc@gemulon.postgresql.org> <22678.1442348981@sss.pgh.pa.us> <20150915220002.GB3685@tamriel.snowman.net> <20150915221655.GK88970@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox