Psycopg Documentation

Albert Hopkins marduk at letterboxes.org
Sun Mar 29 09:40:52 EDT 2009


On Sun, 2009-03-29 at 11:35 +0100, taliesin wrote:
> Hi,
> 
> I'm probably being very dense so apologies in advance, but I can't find
> any decent documentation for the psycopg module for PostgreSQL interfacing.
> 
> Google and Yahoo don't seem to return much for any of the queries I gave
> them and what's listed as the homepage for psycopg is this:
> http://initd.org/projects/psycopg2
> 
> Having wrestled with trac myself, I can appreciate where the fellah is
> coming from, but it doesn't help me much with psycopg!
> 
> I've also found:
> 
> http://initd.org/pub/software/psycopg/dbapi20programming.pdf
> 
> which is good, but incomplete.
> 
> Is there any other documentation out there that people know of?

That's pretty much it.  As the document states psycopg2 pretty much
implements the Python DBAPI 2.0 API for PostgreSQL.  Documentation for
the DBAPI can be found here:

http://www.python.org/dev/peps/pep-0249/

Documentation for PostgreSQL can be found here:

http://www.postgresql.org/docs/

In addition, in the psycopg2 distribution itself there is a document
that explains extensions to the DBAPI that it implements.







More information about the Python-list mailing list