Re: user name lost from dictionary

From: Joe Conway <mail(at)joeconway(dot)com>
To: Elielson Fontanezi <ElielsonF(at)prodam(dot)sp(dot)gov(dot)br>
Cc: "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: user name lost from dictionary
Date: 2002-10-10 14:18:16
Message-ID: 3DA58C28.4000109@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Elielson Fontanezi wrote:
> GRANT ALL on "recursos_materiais" to "user_fomacao_des"; --< Here is the
> point in question
[...snip...]
> REVOKE ALL on "recursos_materiais" from PUBLIC;
> GRANT ALL on "recursos_materiais" to "131"; --< What is it?
>
> Is that a bug?

It looks like someone dropped user_fomacao_des. What happens if you run:

select * from pg_user;
?

You can fix this by doing:
CREATE USER user_fomacao_des WITH SYSID 131 PASSWORD 'password';

HTH,

Joe

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-10-10 14:19:25 Re: Creating server-side functions: one simple error
Previous Message pgsql-bugs 2002-10-10 13:02:14 Bug #795: null resulting from left join corrupts select

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2002-10-10 14:28:00 Re: bytea type
Previous Message Tom Lane 2002-10-10 14:06:58 Re: Server locale?