select open change scope Open full search

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

Supported versions: Current (18) / 17 / 16 / 15 / 14
Development versions: 19 / devel
Unsupported versions: 13 / 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3
Historical version. PostgreSQL 8.4 reached end of support in July 2014. See the current version for supported releases.

dblink_get_connections

Name

dblink_get_connections -- returns the names of all open named dblink connections

Synopsis

    dblink_get_connections() returns text[]
   

Description

dblink_get_connections returns an array of the names of all open named dblink connections.

Return Value

Returns a text array of connection names, or NULL if none.

Example

   SELECT dblink_get_connections();
   

Report a documentation issue

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