"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)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 deleted
rollback;
-- now I know whether there is a row with col = 1
regards, tom lane