From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robson Martins <robson-martins@bol.com.br>
Cc: pgsql-admin@postgresql.org
Subject: Re: re-REVOKE
Date: Wed, 24 Jul 2002 16:46:09 -0400
Message-ID: <13774.1027543569@sss.pgh.pa.us> (raw)
In-Reply-To: <007201c23343$bf144fc0$3a3c620a@catnet.com.br>
References: <007201c23343$bf144fc0$3a3c620a@catnet.com.br>
"Robson Martins" <robson-martins@bol.com.br> writes:
> I have an user 27, when I execute commando below, the user does not lose th=
> e rights.=20
> REVOKE ALL PRIVILEGES ON capitais FROM "27" ;
> table capitais: ACL is {"=3D","27=3DarwR",martins=3DarwR"}
Do you actually have a user named "27"?
I'm thinking this is an instance of a privilege for a user who used
to have sysid 27 but has been removed. The privilege entry is still
there, but is listed with the numeric sysid because the system cannot
find a name to display for it.
You can ignore the privilege item since it's nonfunctional (can't
ever be used). Or you can create a user with sysid 27 (read the
CREATE USER man page), then REVOKE using that username, and
finally drop the user again.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, robson-martins@bol.com.br
Subject: Re: re-REVOKE
In-Reply-To: <13774.1027543569@sss.pgh.pa.us>
References: <007201c23343$bf144fc0$3a3c620a@catnet.com.br> <13774.1027543569@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox