Re: Bug #746: Drop user damages security on tables - Mailing list pgsql-bugs

From Thomas Lockhart
Subject Re: Bug #746: Drop user damages security on tables
Date
Msg-id 3D6ACEA1.182B2AC1@fourpalms.org
Whole thread Raw
In response to Bug #746: Drop user damages security on tables  (pgsql-bugs@postgresql.org)
Responses Re: Bug #746: Drop user damages security on tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
> > A user was setup and had GRANT permissions on individual tables in a database.  After the user was dropped, using
the/z from psql command line showed the user ID still existing in the individual table permissions.  After the drop,
severalother users then were unable to execute SELECT or INSERT on this table.  These users would get a -601 error when
tryingto do a SELECT or INSERT.  Also, trying to REVOKE permissions on the user ID that belonged to the dropped user
resultedin a parse error. 
> What is a "-601 error"?  There's surely no such message in Postgres.

There surely is in ecpg:

ecpgerrno.h:#define ECPG_WARNING_QUERY_IGNORED       -601

These error codes are typically chosen to conform to SQL9x or to
Oracle's conventions, though I haven't looked into this one in a
while...

                - Thomas

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #693: python interface doesn't handle int8 correctly.
Next
From: Casey Allen Shobe
Date:
Subject: MD5 Password Storage and SSL TCP don't work together