Re: [HACKERS] Make pg_regress print a connstring with sockdir - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] Make pg_regress print a connstring with sockdir
Date
Msg-id 20170828100235.bkgozfzkjpoaw7fu@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] Make pg_regress print a connstring with sockdir  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
Craig Ringer wrote:
> On 28 August 2017 at 15:19, Michael Paquier <michael.paquier@gmail.com>
> wrote:
> 
> > On Mon, Aug 28, 2017 at 4:07 PM, Craig Ringer <craig@2ndquadrant.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



pgsql-hackers by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: Re: [HACKERS] Restricting maximum keep segments by repslots
Next
From: Amit Langote
Date:
Subject: Re: [HACKERS] expanding inheritance in partition bound order