| From: | Stephen Frost <sfrost(at)snowman(dot)net> |
|---|---|
| To: | Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> |
| Cc: | Christian Ullrich <chris(at)chrullrich(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: [committers] pgsql: RLS fixes, new hooks, and new test module |
| Date: | 2015-04-24 11:24:59 |
| Message-ID: | 20150424112459.GV30322@tamriel.snowman.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
Dean,
* Dean Rasheed (dean(dot)a(dot)rasheed(at)gmail(dot)com) wrote:
> On 24 April 2015 at 04:31, Stephen Frost <sfrost(at)snowman(dot)net> wrote:
> > * Christian Ullrich (chris(at)chrullrich(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephen Frost | 2015-04-24 13:38:50 | pgsql: Copy the relation name for error reporting in WCOs |
| Previous Message | Dean Rasheed | 2015-04-24 08:02:08 | Re: [committers] pgsql: RLS fixes, new hooks, and new test module |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2015-04-24 11:29:47 | Re: adding more information about process(es) cpu and memory usage |
| Previous Message | Pavel Stehule | 2015-04-24 11:22:28 | Re: PL/pgSQL, RAISE and error context |