separate initdb -A options for local and host - Mailing list pgsql-hackers

From Peter Eisentraut
Subject separate initdb -A options for local and host
Date
Msg-id 1322263211.2104.7.camel@vanquo.pezone.net
Whole thread Raw
Responses Re: separate initdb -A options for local and host
List pgsql-hackers
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.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Add pg_upgrade ENABLE_SAME_CATVERSION_UPGRADES macro for testing to
Next
From: Peter Eisentraut
Date:
Subject: disable prompting by default in createuser