Re: regarding user creation - Mailing list pgsql-novice

From Andrej
Subject Re: regarding user creation
Date
Msg-id AANLkTi=5jM3xWnhwshyUyoQiw1x1=u2ssKiQ=vzcS-+Q@mail.gmail.com
Whole thread Raw
In response to regarding user creation  (Sivakiran Balijepalli <Sivakiran.Balijepalli@infor.com>)
List pgsql-novice
On 18 February 2011 00:57, Sivakiran Balijepalli
<Sivakiran.Balijepalli@infor.com> wrote:

> So I tried to use “create user” command. but then it is not asking for
> password..User is created.
>
> But when I want to enter the db with that user it is prompting for password.
>
> So how do we create user with password

Just as it says in the fine manual
http://www.postgresql.org/docs/9.0/interactive/sql-createuser.html

CREATE USER user WITH ENCRYPTED PASSWORD 'password';


Cheers,
Andrej

pgsql-novice by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: (unknown)
Next
From: Lille Penguini
Date:
Subject: even after laboriously following previous post, cannot cast from char to int