pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew McNamara <andrewm@object-craft.com.au>
To: pgsql-interfaces@postgresql.org
Subject: ocpgdb released
Date: Thu, 07 Aug 2008 13:10:06 +1000
Message-ID: <20080807031006.352795CC8EF@longblack.object-craft.com.au> (raw)

I've released my Python-PostgreSQL DB-API adapter "ocpgdb" on Google Code:

    http://code.google.com/p/ocpgdb/

This adapter module differs from the other Py/PG adapters in that it
uses the binary PG protocol 3, which tends to make it somewhat faster
and (maybe) a little safer. Determining the specifics of the serialised
binary types took quite a bit of work - this might make the code of
interest to others attempting to use the binary protocol.

The adapter aims to code as little as possible in C, with the C code
forming a fairly thin wrapper around libpq. Serialisation is implemented
at the Python level (often with the help of the "struct" module) -
the result is surprisingly quick.

We have been using the module as it stands in several production
systems for about a year without problems. That said, there is little
documentation (things should mostly work according to PEP-249), and the
module does not implement some features commonly provided by other modules
(in particular, a "row dict", nor threading support).

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/



Message-ID: <20080807031006.352795CC8EF@longblack.object-craft.com.au>
Permalink:  ../20080807031006.352795CC8EF@longblack.object-craft.com.au/
Also on:    postgresql.org/message-id/20080807031006.352795CC8EF@longblack.object-craft.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: andrewm@object-craft.com.au
  Subject: Re: ocpgdb released
  In-Reply-To: <20080807031006.352795CC8EF@longblack.object-craft.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox