Search Postgresql Archives

How to find compiled-in default port number?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux