This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
current
version, or one of the other supported versions listed above instead.
Name
get_defport -- get default port [DV]
Synopsis
get_defport()
Return Type
- integer or None
-
Default port specification
Exceptions
- SyntaxError
-
Too many arguments.
Description
get_defport() returns the current
default port specification, or None if the environment variables
should be used. Environment variables will not be looked up.