Re: Make pg_regress print a connstring with sockdir

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Make pg_regress print a connstring with sockdir
Date: 2017-08-28 07:52:13
Message-ID: CAMsr+YEhOE0u-5ea18cT7HaqjyiCxM56SFUwWO++Deiam36VZA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2017-08-28 07:56:41 Re: psql --batch
Previous Message Pavel Stehule 2017-08-28 07:34:53 Re: psql --batch