Тип: | integer |
По умолчанию: | 5432 |
Минимальный: | 1 |
Максимальный: | 65535 |
Контекст: | postmaster |
Перезапуск: | true |
TCP-порт, открываемый сервером; по умолчанию, 5432. Заметьте, что этот порт используется для всех IP-адресов, через которые сервер принимает подключения. Этот параметр можно задать только при запуске сервера.
Рекомендации [EN]
Alternate ports are primarily useful for running several versions, or instances, of PostgreSQL on one machine. However, if you're using an alternate port to support several versions, it's often better to compile in the port number.
На StackOverflow
На pgsql-hackers
- Re: port conflicts when running tests concurrently on windows.
- Re: Support for NSS as a libpq TLS backend
- Re: Incorrect usage of strtol, atoi for non-numeric junk inputs
- Re: [PATCH] Expose port->authn_id to extensions and triggers
- Re: [Bug] Logical Replication failing if the DateStyle is different in Publisher & Subscriber