dblink_get_connections

Name

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

Synopsis

dblink_get_connections() returns text[]

Description

Note: The following description applies only to Postgres-XC

dblink module has not been tested with Postges-XC yet. Although there're no reason that dblink does not run in Postgres-XC, the development team leaves the test and the use of this module entirely to users.

This section is identical to the corresponding PostgreSQL reference manual.

Note: The following description applies only to PostgreSQL

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

Return Value

Note: The following description applies only to Postgres-XC

dblink module has not been tested with Postges-XC yet. Although there're no reason that dblink does not run in Postgres-XC, the development team leaves the test and the use of this module entirely to users.

This section is identical to the corresponding PostgreSQL reference manual.

Note: The following description applies only to PostgreSQL

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

Examples

Note: The following description applies only to Postgres-XC

dblink module has not been tested with Postges-XC yet. Although there're no reason that dblink does not run in Postgres-XC, the development team leaves the test and the use of this module entirely to users.

This section is identical to the corresponding PostgreSQL reference manual.

Note: The following description applies only to PostgreSQL

SELECT dblink_get_connections();