create user with password

Поиск
Список
Период
Сортировка
От sarlav kumar
Тема create user with password
Дата
Msg-id 20041220151843.90581.qmail@web51303.mail.yahoo.com
обсуждение исходный текст
Ответы Re: create user with password
Re: create user with password
Re: create user with password
Список 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 по дате отправления:

Предыдущее
От: "Marcin Gil"
Дата:
Сообщение: pg_dumpall with oids/blobs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Drop does not always drop