Re: re-REVOKE - Mailing list pgsql-admin

From Tom Lane
Subject Re: re-REVOKE
Date
Msg-id 13774.1027543569@sss.pgh.pa.us
Whole thread Raw
In response to re-REVOKE  ("Robson Martins" <robson-martins@bol.com.br>)
List pgsql-admin
"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

pgsql-admin by date:

Previous
From: "Robson Martins"
Date:
Subject: re-REVOKE
Next
From: Marcos Garcia
Date:
Subject: Re: Postgres performance slowly gets worse over a month