18th October 2018: PostgreSQL 11 Released!
Unsupported versions: 7.4 / 7.3 / 7.2 / 7.1

pg_conndefaults

Name

pg_conndefaults -- get connection options and their defaults

Synopsis

pg_conndefaults

Description

pg_conndefaults returns information about the connection options available in pg_connect -conninfo and the current default value for each option.

Arguments

None

Return Value

The result is a list describing the possible connection options and their current default values. Each entry in the list is a sublist of the format:

{optname label dispchar dispsize value}

where the optname is usable as an option in pg_connect -conninfo.