This happens on simple INSERTs no RETURNING.
On Wed, Jan 6, 2016 at 9:40 PM, Stephen Frost <sfrost(at)snowman(dot)net> wrote:
> * Ted Toth (txtoth(at)gmail(dot)com) wrote:
>> I see the insert policy check running but also the select policy using
>> on insert. I don't understand why the select policy is being run.
>> Could it possibly be related to using a sequence on the table?
>
> It's used when SELECT rights are required on the table, such as with an
> INSERT .. RETURNING.
>
> Thanks!
>
> Stephen