Unsupported versions: 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.

close

Name

close -- close the database connection

Synopsis

close()

Parameters

none

Return Type

none

Exceptions

TypeError

Too many (any) arguments.

Description

close() method closes the database connection. The connection will be closed in any case when the connection is deleted but this allows you to explicitly close it. It is mainly here to allow the DB-SIG API wrapper to implement a close function.