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

From Michael Paquier
Subject Re: [HACKERS] Make pg_regress print a connstring with sockdir
Date
Msg-id CAB7nPqSiAGG60LtV76=ZHVT98BY0OwHSSdo3HOhMJtnoR7jggg@mail.gmail.com
Whole thread Raw
In response to [HACKERS] Make pg_regress print a connstring with sockdir  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: [HACKERS] Make pg_regress print a connstring with sockdir  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
On Mon, Aug 28, 2017 at 2:28 PM, Craig Ringer <craig@2ndquadrant.com> wrote:
> It's a pain having to find the postmaster command line to get the port
> pg_regress started a server on. We print the port in the pg_regress output,
> why not the socket directory / host?
>
> How about
> running on 'port=50848 host=/tmp/pg_regress-UMrcT3' with PID 16409
>
> per the attached?
>
> If you'd prefer nicer wording at the expense of two lines, maybe
>
> running with PID 16409
> connection string: 'port=50848 host=/tmp/blah'

Yeah, I think that this is a good idea.
-- 
Michael



pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Re: [HACKERS] hash partitioning based on v10Beta2
Next
From: Mithun Cy
Date:
Subject: [HACKERS] NoMovementScanDirection in heapgettup() and heapgettup_pagemode()