Re: ON CONFLICT issues around whole row vars, - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ON CONFLICT issues around whole row vars,
Date
Msg-id 15638.1444053026@sss.pgh.pa.us
Whole thread Raw
In response to Re: ON CONFLICT issues around whole row vars,  (Stephen Frost <sfrost@snowman.net>)
Responses Re: ON CONFLICT issues around whole row vars,  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> I had intended to address with policies what is addressed through
> permissions with 7d8db3e, but the coverage for INSERT+RETURNING was only
> done when ON CONFLICT was in use.

> I've fixed that by applying the SELECT policies as WCOs for both the
> INSERT and UPDATE RETURNING cases.  This matches the permissions system,
> where we require SELECT rights on the table for an INSERT RETURNING
> query.

What of DELETE RETURNING?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [COMMITTERS] pgsql: Lower *_freeze_max_age minimum values.
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Lower *_freeze_max_age minimum values.