Re: separate initdb -A options for local and host

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: separate initdb -A options for local and host
Дата
Msg-id 1326579531.31492.20.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на separate initdb -A options for local and host  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: separate initdb -A options for local and host  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On lör, 2011-11-26 at 01:20 +0200, Peter Eisentraut wrote:
> I think it would be useful to have separate initdb -A options for local
> and host entries.  In 9.1, we went out of our way to separate the "peer"
> and "ident" methods, but we have moved the confusion into the initdb -A
> option, where "ident" sometimes means "peer", and "peer" sometimes means
> "ident".  Moreover, having separate options would allow what I think
> would be a far more common use case, namely having local "peer" and host
> something other than "ident", such as "md5".
>
> I'm thinking, we could keep the existing -A option, but add long options
> such as --auth-local and --auth-host, to specify more detail.

Here is a patch that implements exactly that.

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: lots of unused variable warnings in assert-free builds
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: WIP -- renaming implicit sequences