Re: [HACKERS] Make pg_regress print a connstring with sockdir

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] Make pg_regress print a connstring with sockdir
Дата
Msg-id CAB7nPqSiAGG60LtV76=ZHVT98BY0OwHSSdo3HOhMJtnoR7jggg@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] Make pg_regress print a connstring with sockdir  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: [HACKERS] Make pg_regress print a connstring with sockdir  (Craig Ringer <craig@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Rushabh Lathia
Дата:
Сообщение: Re: [HACKERS] hash partitioning based on v10Beta2
Следующее
От: Mithun Cy
Дата:
Сообщение: [HACKERS] NoMovementScanDirection in heapgettup() and heapgettup_pagemode()