Re: [PATCH] Allow Postgres to pick an unused port to listen

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: [PATCH] Allow Postgres to pick an unused port to listen
Дата
Msg-id CAM-w4HNO6d9Egr1JX+wGRFSJDOFVN6wMFxajfqdpgdx=eH20zQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Allow Postgres to pick an unused port to listen  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [PATCH] Allow Postgres to pick an unused port to listen  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Wed, 12 Apr 2023 at 11:02, Robert Haas <robertmhaas@gmail.com> wrote:
>
> I mostly just wanted to say that I disagreed with Tom about the
> particular point on postmaster.pid, without really expressing an
> opinion about anything else.

I don't object to using the pid file as the mechanism -- but it is a
bit of an awkward UI for shell scripting. I imagine it would be handy
if pg_ctl had an option to just print the port number so you could get
it with a simple port=`pg_ctl -D <dir> status-port`

-- 
greg



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jacob Champion
Дата:
Сообщение: Re: [PATCH] Add `verify-system` sslmode to use system CA pool for server cert
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] Allow Postgres to pick an unused port to listen