Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 7EE14475876 for ; Wed, 24 Jul 2002 16:46:11 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g6OKk9Vk013775; Wed, 24 Jul 2002 16:46:10 -0400 (EDT) To: "Robson Martins" Cc: pgsql-admin@postgresql.org Subject: Re: re-REVOKE In-reply-to: <007201c23343$bf144fc0$3a3c620a@catnet.com.br> References: <007201c23343$bf144fc0$3a3c620a@catnet.com.br> Comments: In-reply-to "Robson Martins" message dated "Wed, 24 Jul 2002 15:55:40 -0300" Date: Wed, 24 Jul 2002 16:46:09 -0400 Message-ID: <13774.1027543569@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200207/350 X-Sequence-Number: 5034 "Robson Martins" 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