Re: Getting a DB password to work without editing pg_hba.conf, possible?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Getting a DB password to work without editing pg_hba.conf, possible?
Дата
Msg-id 27813.1134758881@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Getting a DB password to work without editing pg_hba.conf, possible?  (Madison Kelly <linux@alteeve.com>)
Ответы Re: Getting a DB password to work without editing pg_hba.conf,  (Madison Kelly <linux@alteeve.com>)
Список pgsql-general
Madison Kelly <linux@alteeve.com> writes:
>   I want to find a way to let the user set the password on the new
> database and have postgres actually ask for it without editing the
> default 'pg_hba.conf' file, if at all possible.

There is no such animal as a "database password" in PG.  There are user
passwords.  You can grant or deny a user access to a database altogether,
but you can't predicate it on him supplying a password different from
his (single) login password.

            regards, tom lane

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Fetch statements
Следующее
От: Madison Kelly
Дата:
Сообщение: Re: Getting a DB password to work without editing pg_hba.conf,