rembrembdocs

February 26, 2026: PostgreSQL 18.3, 17.9, 16.13, 15.17, and 14.22 Released!

DocumentationPostgreSQL 18

Supported Versions: Current (18) / 17 / 16 / 15 / 14

Development Versions: 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

F.11. dblink — connect to other PostgreSQL databases #

dblink is a module that supports connections to other PostgreSQL databases from within a database session.

dblink can report the following wait events under the wait event type Extension.

DblinkConnect

Waiting to establish a connection to a remote server.

DblinkGetConnect

Waiting to establish a connection to a remote server when it could not be found in the list of already-opened connections.

DblinkGetResult

Waiting to receive the results of a query from a remote server.

See also postgres_fdw, which provides roughly the same functionality using a more modern and standards-compliant infrastructure.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.