Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Rod TaylorDate: 2004-01-16 17:01:39
Subject: Re: [PERFORM] Postgres on Netapp
Previous:From: Larry RosenmanDate: 2004-01-16 16:53:18
Subject: Re: [PERFORM] Postgres on Netapp

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group