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

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Tristen Raab <tristen(dot)raab(at)highgo(dot)ca>, Yurii Rashkovskii <yrashk(at)gmail(dot)com>
Subject: Re: [PATCH] Allow Postgres to pick an unused port to listen
Date: 2023-05-18 11:17:02
Message-ID: CAJ7c6TPtkUh9TQ+dd6duAmN6bC2=5uo7DqPbmgy2A4S5613UeQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> I think either a specific pg_ctl command to return the port like Greg had initially mentioned or simply a separate file to store the port numbers would be ideal.

+1, if we are going to do this we definitely need a pg_ctl command
and/or a file.

> The standalone file being the simpler option

Agree. However, I think we will have to add the display of the port
number to "pg_ctl status" too, for the sake of consistency [1].

[1]: https://www.postgresql.org/docs/current/app-pg-ctl.html

--
Best regards,
Aleksander Alekseev

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthias van de Meent 2023-05-18 12:05:54 Re: RFI: Extending the TOAST Pointer
Previous Message Aleksander Alekseev 2023-05-18 10:51:58 Re: RFI: Extending the TOAST Pointer