pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedre-REVOKE
2+ messages / 2 participants
[nested] [flat]
* re-REVOKE
@ 2002-07-24 18:55 Robson Martins <robson-martins@bol.com.br>
2002-07-24 20:46 ` Re: re-REVOKE Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Robson Martins @ 2002-07-24 18:55 UTC (permalink / raw)
To: pgsql-admin
The REVOKE did not function.
I have an user 27, when I execute commando below, the user does not lose the rights.
REVOKE ALL PRIVILEGES ON capitais FROM "27" ;
table capitais: ACL is {"=","27=arwR",martins=arwR"}
What I must make?
Regards.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: re-REVOKE
2002-07-24 18:55 re-REVOKE Robson Martins <robson-martins@bol.com.br>
@ 2002-07-24 20:46 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2002-07-24 20:46 UTC (permalink / raw)
To: Robson Martins <robson-martins@bol.com.br>; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-07-24 20:46 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-07-24 18:55 re-REVOKE Robson Martins <robson-martins@bol.com.br>
2002-07-24 20:46 ` Tom Lane <tgl@sss.pgh.pa.us>
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