Re: Revoke missing user

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Robert Fitzpatrick" <robert(at)webtent(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Revoke missing user
Date: 2003-04-25 02:34:15
Message-ID: 4825.1051238055@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Robert Fitzpatrick" <robert(at)webtent(dot)com> writes:
> I removed a user from PostgreSQL that had privileges on some tables, now
> the access privileges shows just the former user number. When I try:
> revoke all on allergies from 104;
> I get:
> ERROR: parser: parse error at or near "104" at character 30
> I even try creating a user named 104, same result. How can I revoke
> those privileges?

Create a user with the old user number:

create user revenant with sysid 104;

and now you can do the revokes using that username.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2003-04-25 02:39:42 Re: ODBC & Access [Try 2]
Previous Message ahoward 2003-04-25 02:12:54 Re: has_table_priviledge