select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 7.4 / 7.3 / 7.2 / 7.1
Historical version. PostgreSQL 7.4 reached end of support in October 2010. See the current manual for supported releases.

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.

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.