How to find compiled-in default port number?

Поиск
Список
Период
Сортировка
От Виктор Егоров
Тема How to find compiled-in default port number?
Дата
Msg-id CAGnEbojBcDGEVBhcsFTBSQoc8RH9HvzTXeHuW64U3EXEyUc+CQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to find compiled-in default port number?  (Martin Gregorie <martin@gregorie.org>)
Re: How to find compiled-in default port number?  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
Greetings.

Is there a way to find out the compiled-in port number?

I can parse `pg_config` output to check out port in cases port was actually specified.

However if defaults had been used, is there any tool that will tell me the magic 5432 number
or should I silently stick to this number in my scripts?

Thanks in advance!

--
Victor Y. Yegorov

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

Предыдущее
От: hamann.w@t-online.de
Дата:
Сообщение: Re: COPY and indices?
Следующее
От: Dmitriy Igrishin
Дата:
Сообщение: Frontend/Backend protocol question.