- publishing free software manuals
The PostgreSQL 9.0 Reference Manual - Volume 2 - Programming Guide
by The PostgreSQL Global Development Group
Paperback (6"x9"), 478 pages
ISBN 9781906966065
RRP £14.95 ($19.95)

Sales of this book support the PostgreSQL project! Get a printed copy>>>

3.3 Closing a Connection

To close a connection, use the following statement:

EXEC SQL DISCONNECT connection;

The connection can be specified in the following ways:

If no connection name is specified, the current connection is closed.

It is good style that an application always explicitly disconnect from every connection it opened.

ISBN 9781906966065The PostgreSQL 9.0 Reference Manual - Volume 2 - Programming GuideSee the print edition