服务器监听的 TCP 端口；默认是 5432 。请注意服务器会同一个端口号监听所有的 IP 地址。这个参数只能在服务器启动时设置。
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.
- Re: Support for NSS as a libpq TLS backend
- Re: Extensibility of the PostgreSQL wire protocol
- Re: Log message for GSS connection is missing once connection authorization is successful.
- Re: Proposal: Save user's original authenticated identity for logging
- Re: Free port choosing freezes when PostgresNode::use_tcp is used on BSD systems