Skip site navigation (1) Skip section navigation (2)

Re: Bug #746: Drop user damages security on tables

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: parkerm(at)hst(dot)stoneridge(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #746: Drop user damages security on tables
Date: 2002-08-27 00:58:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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, several other users then were unable to execute SELECT or INSERT on this table.  These users would get a -601 error when trying to do a SELECT or INSERT.  Also, trying to REVOKE permissions on the user ID that belonged to the dropped user resulted in 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

                - Thomas

In response to


pgsql-bugs by date

Next:From: Casey Allen ShobeDate: 2002-08-27 03:32:49
Subject: MD5 Password Storage and SSL TCP don't work together
Previous:From: Tom LaneDate: 2002-08-27 00:37:42
Subject: Re: Bug #693: python interface doesn't handle int8 correctly.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group