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

From Dean Rasheed
Subject Re: WITH CHECK OPTION bug [was RLS Design]
Date
Msg-id CAEZATCVRMrJk85CPKQpqCzHyAGJSSi1OSqo=WtfMdrBod_ogKQ@mail.gmail.com
Whole thread Raw
In response to Re: WITH CHECK OPTION bug [was RLS Design]  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: WITH CHECK OPTION bug [was RLS Design]  (Stephen Frost <sfrost@snowman.net>)
Re: WITH CHECK OPTION bug [was RLS Design]  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
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?

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.

Regards,
Dean

Attachment

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Help to startup
Next
From: Pavel Stehule
Date:
Subject: proposal: window function - change_number