This page in other versions: Unsupported versions: 7.1 / 7.2 / 7.3

get_defport

Name

get_defport -- get default port [DV]

Synopsis

get_defport()

Parameters

none

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.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group