Re: Pending 9.4 patches

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Pending 9.4 patches
Date: 2014-04-09 01:28:19
Message-ID: 20140409012819.GJ2556@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Craig Ringer (craig(at)2ndquadrant(dot)com) wrote:
> On 04/09/2014 02:00 AM, Stephen Frost wrote:
> > I'm a bit confused on this point- is the only issue the
> > *preexisting* bug with security barrier views?
>
> This thread discusses two patches. The above refers to row security
> (per quoted text at top), not updatable security barrier views.

Right, I understood that.

> Updatable security barrier views are ready. There's a pre-existing bug
> with security barrier views, but updatable s.b. views don't make it
> any worse and it can be fixed separately.

Ok.

> Row security is not. It could possibly be committed w/o a fix for the
> security barrier bug by deleting the relevant regression tests, but
> Tom had reservations about plan invalidation in it, the docs need
> updating, and it needs a bunch more testing. It's possible I could
> have it ready in a few days - or it might be a couple of weeks. I ran
> out of time to work on it for 9.4.

So- row security makes the *existing bug* worse; I get that. The
question regarding plan invalidation may be something we can work out.
As for docs and testing, those are things we would certainly be better
off with and may mean that this isn't able to make it into 9.4, which is
fair, but I wouldn't toss it out solely due to that.

> > Craig, in general, I'd argue that a pre-existing bug isn't a reason
> > that a patch isn't ready for commit. The bug may need to be fixed
> > before the patch goes in, but saying a patch isn't ready implied,
> > to me at least, issues with the *patch*, which it sounds like isn't
> > the case here.
>
> I tend to agree, and for that reason want updatable security barrier
> views to make it in for 9.4.

Ok. I'm going to make a serious effort to find time to work on this, at
least. Right now I'm busy preparing to launch a new site (you'll see
the announce in a couple days...), etc, etc, but I should have time this
weekend...

Thanks,

Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Pflug 2014-04-09 01:58:18 Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Previous Message Craig Ringer 2014-04-09 01:25:01 Re: Pending 9.4 patches