Re: [PATCH] initdb: Option description. - Mailing list pgsql-bugs

From David G Johnston
Subject Re: [PATCH] initdb: Option description.
Date
Msg-id 1417052096550-5828461.post@n5.nabble.com
Whole thread Raw
In response to Re: [PATCH] initdb: Option description.  (Magnus Hagander <magnus@hagander.net>)
List pgsql-bugs
Magnus Hagander-2 wrote
> On Mon, Nov 17, 2014 at 12:12 AM, Mats Erik Andersson
> <

> bsd@

> > wrote:
>> Hello there,
>>
>> the recent introduction of new options `--auth-local'
>> and `--auth-host' have lead to some confusion in the
>> help massage for inetdb, leaving an erroneous `local'
>> for `--auth' and `--auth-host'.  Please consider the
>> following patch to improve the relevance.
>
> Hi!
>
> The idea behind the current wording is that it only sets the
> authentication type for 127.0.0.1 and ::1 -- there is no entry in
> pg_hba.conf generated for non-local TCP/IP connections. Perhaps we
> could clarify it by saying "localhost TCP/IP" rather than "local
> TCP/IP" though?

Or "loopback tcp/ip interface"...

It would also maybe help to modify the second description paragraph to point
out that initdb also creates the default postgres.conf and pg_hba.conf
files; the later of which will contain two local-only connection methods
(socket and tcp/ip via localhost) with the authentication set to trust but
able to be overridden via the various --auth* related switches.

David J.





--
View this message in context: http://postgresql.nabble.com/PATCH-initdb-Option-description-tp5827166p5828461.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

pgsql-bugs by date:

Previous
From: Mats Erik Andersson
Date:
Subject: Re: [PATCH] initdb: Option description.
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #12071: Stat collector went crasy (50MB/s constant writes)