pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Dean Rasheed <dean.a.rasheed@gmail.com>
Cc: Christian Ullrich <chris@chrullrich.net>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [committers] pgsql: RLS fixes, new hooks, and new test module
Date: Fri, 24 Apr 2015 07:24:59 -0400
Message-ID: <20150424112459.GV30322@tamriel.snowman.net> (raw)
In-Reply-To: <CAEZATCXygvKXdPk8dNvvHuA8ZJ_q4ObkBb2etuOuUz4tPksQUQ@mail.gmail.com>
References: <E1Ykx5N-0002un-OS@gemulon.postgresql.org>
	<55399862.8090809@chrullrich.net>
	<20150424033153.GU30322@tamriel.snowman.net>
	<CAEZATCXygvKXdPk8dNvvHuA8ZJ_q4ObkBb2etuOuUz4tPksQUQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Dean,

* Dean Rasheed (dean.a.rasheed@gmail.com) wrote:
> On 24 April 2015 at 04:31, Stephen Frost <sfrost@snowman.net> wrote:
> > * Christian Ullrich (chris@chrullrich.net) wrote:
> >> * Stephen Frost wrote:
> >> >RLS fixes, new hooks, and new test module
> >>
> >> The buildfarm says that with -DCLOBBER_CACHE_ALWAYS, the RLS
> >> violations get blamed on the wrong tables. Mostly, they are catalogs
> >> (I have seen pg_opclass, pg_am, and pg_amproc), but some also come
> >> up with binary garbage instead, e.g.
> >>
> >> - http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=markhor&dt=2015-04-23%2000%3A00%3A12
> >> - http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=friarbird&dt=2015-04-23%2004%3A20%3A00
> >> - http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=tick&dt=2015-04-22%2019%3A56%3A53
> >
> > Yup, thanks, Robert pointed this out on another thread and I'm looking
> > into it.
> >
> 
> Ah, yes it looks like a couple of places in
> get_row_security_policies() ought to be making a copy of the relation
> name when setting it on the WCO.

Yup, that was the same conclusion that I came to last night, just hadn't
finished testing before needing sleep. :)  Will push a fix shortly for
it.

	Thanks!

		Stephen

Attachments:

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

view thread (6+ messages)

Message-ID: <20150424112459.GV30322@tamriel.snowman.net>
Permalink:  ../20150424112459.GV30322@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20150424112459.GV30322@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, dean.a.rasheed@gmail.com, chris@chrullrich.net, pgsql-hackers@postgresql.org
  Subject: Re: [committers] pgsql: RLS fixes, new hooks, and new test module
  In-Reply-To: <20150424112459.GV30322@tamriel.snowman.net>
  References: <E1Ykx5N-0002un-OS@gemulon.postgresql.org> <55399862.8090809@chrullrich.net> <20150424033153.GU30322@tamriel.snowman.net> <CAEZATCXygvKXdPk8dNvvHuA8ZJ_q4ObkBb2etuOuUz4tPksQUQ@mail.gmail.com> <20150424112459.GV30322@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