Re: Unusual permissions behaviour - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Unusual permissions behaviour
Date
Msg-id 14865.1007009870@sss.pgh.pa.us
Whole thread Raw
In response to Unusual permissions behaviour  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> Why do I get a permission denied when I qualify the DELETE statement???

IIRC, you need SELECT permission to reference the values of any fields
of the table.  If you don't have SELECT permission, the table should
be write-only to you; you shouldn't be able to learn things about its
contents by doing stuff like
begin;delete from foo where col = 1;-- observe # rows deletedrollback;-- now I know whether there is a row with col =
1
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Second call for platform testing
Next
From: Joe Conway
Date:
Subject: Re: Second call for platform testing