Re: problem creating user - Mailing list pgsql-admin

From Manuel Sugawara
Subject Re: problem creating user
Date
Msg-id m3ptdjal8i.fsf@conexa.fciencias.unam.mx
Whole thread Raw
In response to problem creating user  (kandiah ratnavale <ratnavale@shaw.ca>)
List pgsql-admin
kandiah ratnavale <ratnavale@shaw.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.

pgsql-admin by date:

Previous
From: postgres@jal.org
Date:
Subject: Re: problem creating user
Next
From: "Martinelli Paolo A."
Date:
Subject: R: problem creating user