This happens on simple INSERTs no RETURNING. On Wed, Jan 6, 2016 at 9:40 PM, Stephen Frost <sfrost@xxxxxxxxxxx> wrote: > * Ted Toth (txtoth@xxxxxxxxx) 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general