Re: Postgres listens on random port

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Postgres listens on random port
Дата
Msg-id 2bd9d9c9-7e3e-46fc-9911-ffa259a5b548@aklaver.com
обсуждение исходный текст
Ответ на Re: Postgres listens on random port  (Kal <kalel.code11@gmail.com>)
Список pgsql-general
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




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