Re: problem creating user

From: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
To: ratnavale(at)shaw(dot)ca
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: problem creating user
Date: 2004-01-16 16:58:54
Message-ID: m3ptdjal8i.fsf@conexa.fciencias.unam.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

kandiah ratnavale <ratnavale(at)shaw(dot)ca> writes:

> could you please tell me what is wrong here?
> how would i change to user bruce?

You are confusing unix users with postgres users. They are different
so the su command does not work. You can use the -U switch to psql to
connect as another user

psql -U bruce -d movies

Read the psql(1) and createuser(1) manual pages for details.

Regards,
Manuel.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rod Taylor 2004-01-16 17:01:39 Re: [PERFORM] Postgres on Netapp
Previous Message Larry Rosenman 2004-01-16 16:53:18 Re: [PERFORM] Postgres on Netapp