Re: WITH CHECK OPTION bug [was RLS Design] - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: WITH CHECK OPTION bug [was RLS Design]
Date
Msg-id 20140921140452.GM16422@tamriel.snowman.net
Whole thread Raw
In response to Re: WITH CHECK OPTION bug [was RLS Design]  (Dean Rasheed <dean.a.rasheed@gmail.com>)
List pgsql-hackers
Dean,

* Dean Rasheed (dean.a.rasheed@gmail.com) wrote:
> On 20 September 2014 14:08, Michael Paquier <michael.paquier@gmail.com> wrote:
> > On Sat, Sep 20, 2014 at 7:03 AM, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
> >> Fortunately it looks pretty trivial though. The patch attached fixes
> >> the above test cases.
> >> Obviously this needs to be fixed in 9.4 and HEAD.
> > Wouldn't it be better if bundled with some regression tests?

Agreed.

> Yeah OK, fair point. Here are some tests that cover that code path.
> I've also thrown in a test with prepared statements, although that
> case was already working, it seemed worth checking.

Thanks!  Looks good, but will review in more depth, address the other
comments on this thread (typo, adding more documentation) and
investigate the results from the Coverity run this morning this evening
and should be able to get everything addressed in the next couple days.
Obviously, I'll be back-patching this fix to 9.4 too.
Thanks again!
    Stephen

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: window function - change_number
Next
From: Mart Kelder
Date:
Subject: Re: proposal: window function - change_number