Re: Row security violation error is misleading - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: Row security violation error is misleading
Date
Msg-id CAEZATCW0riymCOUyf0hXzvrQrC-0PUmPKx-5tYVd8k2rx1tt7w@mail.gmail.com
Whole thread Raw
In response to Re: Row security violation error is misleading  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On 25 April 2015 at 01:52, Stephen Frost <sfrost@snowman.net> wrote:
> * Dean Rasheed (dean.a.rasheed@gmail.com) wrote:
>> The second patch [2] is the one that is actually relevant to this
>> thread. This patch is primarily to apply the RLS checks earlier,
>> before an update is attempted, more like a regular permissions check.
>> This adds a new enum to classify the kinds of WCO, a side benefit of
>> which is that it allows different error messages when RLS checks are
>> violated, as opposed to WITH CHECK OPTIONs on views.
>
> I've gone ahead and pushed this, please take a look and test it and let
> me know if you see any issues or have any questions or concerns.
>

Brilliant, thanks! I gave it a quick read-through and all the changes
look good, so thanks for all your work on this.

Regards,
Dean



pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: adding more information about process(es) cpu and memory usage
Next
From: Andres Freund
Date:
Subject: INSERT ... ON CONFLICT syntax issues