Re: CREATE DATABASE WITH OWNER '??';

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: CREATE DATABASE WITH OWNER '??';
Дата
в 16:52:50
Msg-id
Pine.LNX.4.21.0005091500450.387-100000@localhost.localdomain
Ответ на
Список
Дерево обсуждения
CREATE DATABASE WITH OWNER '??'; The Hermit Hacker <scrappy@hub.org>
Re: CREATE DATABASE WITH OWNER '??'; Peter Eisentraut <peter_e@gmx.net>
Re: CREATE DATABASE WITH OWNER '??'; Tom Lane <tgl@sss.pgh.pa.us>
Re: CREATE DATABASE WITH OWNER '??'; Peter Eisentraut <peter_e@gmx.net>
Re: CREATE DATABASE WITH OWNER '??'; The Hermit Hacker <scrappy@hub.org>
Re: CREATE DATABASE WITH OWNER '??'; The Hermit Hacker <scrappy@hub.org>
Re: CREATE DATABASE WITH OWNER '??'; Peter Eisentraut <peter_e@gmx.net>
Re: CREATE DATABASE WITH OWNER '??'; Tom Lane <tgl@sss.pgh.pa.us>
Re: CREATE DATABASE WITH OWNER '??'; The Hermit Hacker <scrappy@hub.org>
Tom Lane writes:

> Rather than the separate pw files, maybe pg_shadow needs some kind of
> provision for database-specific passwords ...

Perhaps the issue is not so much having different passwords for each
database. I don't think this is necessarily a priority. (I think it would
be rather confusing that there would be one user and many passwords.)

The issue is that you can't say "Do password authentication, but only for
these users". It forces you to make separate password files. Perhaps we
could extend the syntax similar to this

| host	all	127.0.0.1	255.255.255.255	passwd	&user1,user2,user3

to mean "do password authentication using the pg_shadow passwords, but
only for the named users". (`&' would be some special character to
distinguish a list of users from a password file name.)


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата:
Сообщение: Re: logging problem ... ?
От: Peter Eisentraut
Дата:
FAQ