On 11/5/24 06:22, Kal wrote:
>
>
> On Tue, 5 Nov 2024 at 7:42 PM, Greg Sabino Mullane <htamfids@gmail.com
> <mailto:htamfids@gmail.com>> wrote:
>
> Start by seeing where the port is actually being set by running this:
>
> select setting, source, sourcefile, sourceline from pg_settings
> where name = 'port';
> Cheers,
> Greg
>
> Hi Greg,
>
> The query output states the source as command line. Event the port value
> output from show port is same as given in pg_ctl command.
How did you connect to the database to run the query if the port is random?
In other words what client and connection settings did you use to
connect to the server and run the query?
>
> But the database is listening on some other random port.
>
>
> Regards
> Kal
--
Adrian Klaver
adrian.klaver@aklaver.com