|PostgreSQL 8.1.23 Documentation|
|Prev||Fast Backward||Chapter 30. ECPG - Embedded SQL in C||Fast Forward||Next|
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.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.