From: Mats Erik Andersson <bsd@gisladisker.se>
To: pgsql-bugs@postgresql.org
Subject: [PATCH] initdb: Option description.
Date: Mon, 17 Nov 2014 00:12:56 +0100
Message-ID: <20141116231256.GA15348@mail.gisladisker.se> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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.
Best regards,
Mats Erik Andersson
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugsAttachments:0001-initdb-Option-description.-tiny-change.patch (text/x-diff, 1.3K) download
From ef7a9aca3b7261630261a6b73caaa58a717ae668 Mon Sep 17 00:00:00 2001
From: Mats Erik Andersson <bsd@gisladisker.se>
Date: Sun, 16 Nov 2014 23:38:41 +0100
Subject: [PATCH] initdb: Option description. (tiny change)
Express clearly the difference between --auth,
--auth-host, and --auth-local.---
src/bin/initdb/initdb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.cindex 3b52867..62bd6ed 100644--- a/src/bin/initdb/initdb.c+++ b/src/bin/initdb/initdb.c@@ -2868,8 +2868,8 @@ usage(const char *progname)
printf(_("Usage:\n"));
printf(_(" %s [OPTION]... [DATADIR]\n"), progname);
printf(_("\nOptions:\n"));
- printf(_(" -A, --auth=METHOD default authentication method for local connections\n"));- printf(_(" --auth-host=METHOD default authentication method for local TCP/IP connections\n"));+ printf(_(" -A, --auth=METHOD default authentication method for all connections\n"));+ printf(_(" --auth-host=METHOD default authentication method for TCP/IP connections\n"));
printf(_(" --auth-local=METHOD default authentication method for local-socket connections\n"));
printf(_(" [-D, --pgdata=]DATADIR location for this database cluster\n"));
printf(_(" -E, --encoding=ENCODING set default encoding for new databases\n"));
--
1.7.3.2
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: bsd@gisladisker.se
Subject: Re: [PATCH] initdb: Option description.
In-Reply-To: <20141116231256.GA15348@mail.gisladisker.se>
References: <20141116231256.GA15348@mail.gisladisker.se>
* 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