Re: create user with password

Поиск
Список
Период
Сортировка
От Marcin Gil
Тема Re: create user with password
Дата
Msg-id 20041220152505.BF7591881CC0@hermes2.vernet.pl
обсуждение исходный текст
Ответ на create user with password  (sarlav kumar <sarlavk@yahoo.com>)
Список pgsql-novice
 

From: pgsql-novice-owner@postgresql.org [mailto:pgsql-novice-owner@postgresql.org] On Behalf Of sarlav kumar
Sent: Monday, December 20, 2004 4:19 PM
To: pgsqlnovice
Subject: [NOVICE] create user with password

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
 

В списке pgsql-novice по дате отправления:

Предыдущее
От: Devrim GUNDUZ
Дата:
Сообщение: Re: create user with password
Следующее
От: "Marcin Gil"
Дата:
Сообщение: Re: create user with password