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

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

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.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (13+ messages)  latest in thread

Message-ID: <20150915220002.GB3685@tamriel.snowman.net>
Permalink:  ../20150915220002.GB3685@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20150915220002.GB3685@tamriel.snowman.net

 · 

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: sfrost@snowman.net, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: RLS refactoring
  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>

* 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