12th September 2019: PostgreSQL 12 Beta 4 Released!
Unsupported versions: 7.4 / 7.3 / 7.2 / 7.1
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the supported versions listed above instead.

pg_disconnect

Name

pg_disconnect -- closes a connection to the backend server

Synopsis

pg_disconnect dbHandle

Inputs

dbHandle

Specifies a valid database handle.

Outputs

None

Description

pg_disconnect closes a connection to the Postgres backend.