Re: Make pg_regress print a connstring with sockdir

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Make pg_regress print a connstring with sockdir
Date: 2017-08-28 10:02:35
Message-ID: 20170828100235.bkgozfzkjpoaw7fu@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Craig Ringer wrote:
> On 28 August 2017 at 15:19, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
> wrote:
>
> > On Mon, Aug 28, 2017 at 4:07 PM, Craig Ringer <craig(at)2ndquadrant(dot)com>
> > wrote:
> > > ============== starting postmaster ==============
> > > running with PID 30235; connect with:
> > > psql "host='/tmp/pg_regress-j74yFE' port=50848 dbname='regression'"
> > > ============== creating database "regression" ==============
> >
> > Sorry if my words were confusing and have cost you three minutes of
> > development. I like better the one-line version :)
> > Now a socket path could be quite long. I can live with that personally.
> >
>
> I'm not fussed, I just think we should show it one way or the other.
>
> One nice thing about the two line form is that you can
> double-click/middle-click to open a new psql in the pg_regress session
> pretty much instantly.

So don't add gettext_noop() around it :-)

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2017-08-28 10:38:31 Re: expanding inheritance in partition bound order
Previous Message Kyotaro HORIGUCHI 2017-08-28 09:36:14 Re: Restricting maximum keep segments by repslots