# pg8000

pg8000 is a DB-API 2.0 compatible pure-Python interface to the PostgreSQL database engine. It is one of many PostgreSQL interfaces for the Python programming language. pg8000 is somewhat distinctive in that it is written entirely in Python and does not rely on any external libraries (such as a compiled python module, or PostgreSQL’s libpq library).

pg8000’s name comes from the belief that it is probably about the 8000th PostgreSQL interface for Python. pg8000 is distributed under the terms of the BSD 3-clause license.

All bug reports, feature requests and contributions are welcome at http://github.com/mfenniak/pg8000/. There’s also a forum at https://groups.google.com/forum/#!forum/pg8000.

If you’re a user of pg8000 we’d love to hear who you are and what you or your organization is using pg8000 for. Just log an issue on GitHub or post a message to the forum. The idea is to put together a page of users.

## Contents

- Quick Start
  - Key Points
  - Installation
  - Interactive Example
- Properties
- Functions
- Generic Exceptions
- Specific Exceptions
- Classes
- Type Classes
- Type Mapping
- Release Notes
  - Version 1.10.6, 2016-06-10
  - Version 1.10.5, 2016-03-04
  - Version 1.10.4, 2016-02-27
  - Version 1.10.3, 2016-01-07
  - Version 1.10.2, 2015-03-17
  - Version 1.10.1, 2014-09-15
  - Version 1.10.0, 2014-08-30
  - Version 1.9.14, 2014-08-02
  - Version 1.9.13, 2014-07-27
  - Version 1.9.12, 2014-07-22
  - Version 1.9.11, 2014-07-20
  - Version 1.9.10, 2014-06-08
  - Version 1.9.9, 2014-05-12
  - Version 1.9.8, 2014-05-05
  - Version 1.9.7, 2014-03-26
  - Version 1.9.6, 2014-02-26
  - Version 1.9.5, 2014-02-15
  - Version 1.9.4, 2014-01-18
  - Version 1.9.3, 2014-01-16
  - Version 1.9.2, 2013-12-17
  - Version 1.9.1, 2013-12-15
  - Version 1.9.0, 2013-12-01
  - Version 1.08, 2010-06-08
  - Version 1.07, 2009-01-06
  - Version 1.06, 2008-12-09
  - Version 1.05, 2008-09-03
  - Version 1.04, 2008-05-12
  - Version 1.03, 2008-05-09
  - Version 1.02, 2007-03-13
  - Version 1.01, 2007-03-09
  - Version 1.00, 2007-03-08

## Indices and tables

- Index
- Search Page