pg_disconnect
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.
A Tcl error will be thrown if an error occurs.
Notes
This command uses or emulates the PostgreSQL
libpq
function PQfinish
.
This version of the manual was produced for the
Pgtcl-ng Sourceforge project web service site, which requires the logo on each
page.
To download a logo-free copy of the manual, see the
Pgtcl-ng project
downloads area.