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


Reply via email to