---
name: "dblink_get_connections"
section: "3"
platform: "linux"
package: "postgresql"
version: "18.6-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/dblink_get_connections"
---

# dblink\_get\_connections(3)

returns the names of all open named dblink 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.

## EXAMPLES

```
SELECT dblink_get_connections();
```
