Re: WITH CHECK and Column-Level Privileges - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: WITH CHECK and Column-Level Privileges
Date
Msg-id 20141029130423.GF28859@tamriel.snowman.net
Whole thread Raw
In response to Re: WITH CHECK and Column-Level Privileges  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: WITH CHECK and Column-Level Privileges
List pgsql-hackers
* Robert Haas (robertmhaas@gmail.com) wrote:
> On Wed, Oct 29, 2014 at 8:16 AM, Stephen Frost <sfrost@snowman.net> wrote:
> > suggestions.  If the user does not have table-level SELECT rights,
> > they'll see for the "Failing row contains" case, they'll get:
> >
> > Failing row contains (col1, col2, col3) = (1, 2, 3).
> >
> > Or, if they have no access to any columns:
> >
> > Failing row contains () = ()
>
> I haven't looked at the code, but that sounds nice, except that if
> they have no access to any columns, I'd leave the message out
> altogether instead of emitting it with no useful content.

Alright, I can change things around to make that happen without too much
trouble.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Directory/File Access Permissions for COPY and Generic File Access Functions
Next
From: Andrew Dunstan
Date:
Subject: Re: pg_dump/pg_restore seem broken on hamerkop