pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David G Johnston <david.g.johnston@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: [PATCH] initdb: Option description.
Date: Wed, 26 Nov 2014 18:34:56 -0700 (MST)
Message-ID: <1417052096550-5828461.post@n5.nabble.com> (raw)
In-Reply-To: <CABUevEy-uNaLSddkaaNuKjMC2ME6Wt6gDX-Pn_=O2nufmNHB4g@mail.gmail.com>
References: <20141116231256.GA15348@mail.gisladisker.se>
	<CABUevEy-uNaLSddkaaNuKjMC2ME6Wt6gDX-Pn_=O2nufmNHB4g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Magnus Hagander-2 wrote
> On Mon, Nov 17, 2014 at 12:12 AM, Mats Erik Andersson
> &lt;

> bsd@

> &gt; 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.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <1417052096550-5828461.post@n5.nabble.com>
Permalink:  ../1417052096550-5828461.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1417052096550-5828461.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: david.g.johnston@gmail.com
  Subject: Re: [PATCH] initdb: Option description.
  In-Reply-To: <1417052096550-5828461.post@n5.nabble.com>
  References: <20141116231256.GA15348@mail.gisladisker.se> <CABUevEy-uNaLSddkaaNuKjMC2ME6Wt6gDX-Pn_=O2nufmNHB4g@mail.gmail.com> <1417052096550-5828461.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox