pg_disconnect − close a connection to the server
pg_disconnect conn
pg_disconnect closes a connection to the PostgreSQL server.
conn
The handle of the connection to be closed.
None