select open change scope Open full search

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

Unsupported versions: 7.4 / 7.3 / 7.2 / 7.1
Historical version. PostgreSQL 7.4 reached end of support in October 2010. See the current manual for supported releases.

pg_disconnect

Name

pg_disconnect -- close a connection to the server

Synopsis

pg_disconnect conn

Description

pg_disconnect closes a connection to the PostgreSQL server.

Arguments

conn

The handle of the connection to be closed.

Return Value

None

Report a documentation issue

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