Re: BUG #16486: Prompted password is ignored when password specified in connection string

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, exclusion(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16486: Prompted password is ignored when password specified in connection string
Date: 2020-11-11 00:18:54
Message-ID: 20201111001854.GD12947@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Nov 2, 2020 at 12:33:33AM -0600, Justin Pryzby wrote:
> On Fri, Oct 02, 2020 at 10:19:58PM -0400, Bruce Momjian wrote:
> > On Thu, Sep 3, 2020 at 03:05:38PM -0400, Bruce Momjian wrote:
> > > On Wed, Sep 2, 2020 at 03:47:40PM -0400, Tom Lane wrote:
> > > > Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > > > > I used a later version of Tom's patch to add documentation of how
> > > > > connection strings can override command-line options, plus it has the
> > > > > password description improvements.
> > > >
> > > > > <option>--all</option>) is not used, the database name is read
> > > > > from the environment variable <envar>PGDATABASE</envar>. If
> > > > > that is not set, the user name specified for the connection is
> > > > > - used.
> > > > > + used. <link linkend="libpq-connstring">Connction strings</link>
> > > > > + can also be used for connection specifications, and these can
> > > > > + override other command-line options.
> > > > > </para>
> > > > > </listitem>
> > > > > </varlistentry>
> > > >
> > > > * Spellcheck (not "Connction" please)
> ...
> > > Sure, makes sense. Updated patch attached.
> >
> > Patch applied to all supported versions; thanks for the report.
>
> Unfortunately that included the typo Tom pointed out :(

Oops, I missed that. Fixed, thanks.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com

The usefulness of a cup is in its emptiness, Bruce Lee

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2020-11-11 01:32:09 Re: REL_13_STABLE Windows 10 Regression Failures
Previous Message Kurt Roeckx 2020-11-10 22:45:16 Re: BUG #16707: Memory leak