create user with password - Mailing list pgsql-novice

From sarlav kumar
Subject create user with password
Date
Msg-id 20041220151843.90581.qmail@web51303.mail.yahoo.com
Whole thread Raw
Responses Re: create user with password
Re: create user with password
Re: create user with password
List pgsql-novice
Hi All,
 
I logged in as postgres user and created a new user 'test' with a password.
create user test with password 'test';
 
But when I use the -U option to login with the new user 'test', it does not ask for password and directly logs me in. If I use -u(without capitalization), it asks for the username and password. I know that -u is deprecated. Is there a way to get -U option to ask for the password before logging in?? Or am I doing anything wrong here?
 
Thanks,
Saranya
 
 


Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.

pgsql-novice by date:

Previous
From: "Marcin Gil"
Date:
Subject: pg_dumpall with oids/blobs
Next
From: Tom Lane
Date:
Subject: Re: Drop does not always drop