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

create user with password

From: sarlav kumar <sarlavk(at)yahoo(dot)com>
To: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>
Subject: create user with password
Date: 2004-12-20 15:18:42
Message-ID: 20041220151843.90581.qmail@web51303.mail.yahoo.com (view raw or flat)
Thread:
Lists: 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.

Responses

pgsql-novice by date

Next:From: Tom LaneDate: 2004-12-20 15:22:01
Subject: Re: Drop does not always drop
Previous:From: Marcin GilDate: 2004-12-20 15:16:56
Subject: pg_dumpall with oids/blobs

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