contrib-dblink-get-connections.md 422 字节
Newer Older
K
KyleZhang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
## dblink\_get\_connections

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.

## Examples

```
SELECT dblink_get_connections();

```