DB-API 2.0 (Python Database API Specification v2.0) is a specification for connecting to databases (not only PostGreSQL) from Python that has been developed by the Python DB-SIG in 1999.
The following documentation covers only the newer pgdb API.
Note
This section of the documentation still needs to be written.