Re: Confusion over Python drivers

From: James William Pye <lists(at)jwp(dot)name>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Confusion over Python drivers
Date: 2010-02-05 19:54:39
Message-ID: 8C2F9319-B7C6-4C2D-B0A2-EAE4867981B3@jwp.name
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Feb 5, 2010, at 11:34 AM, Josh Berkus wrote:
> For people who use Python a lot, could I have a list of the deficiencies
> in DBAPI? I've got my horse and lance ready.
>
> Given that SQLAlchemy isn't for everyone, of course ... it couldn't be,
> or Django would use it, no?

Here are some to start with:

- paramstyle
- No direct support of prepared statements
[they *tried* to compensate for this with "cached statements", but it's inadequate]
- Too many *optional* extensions (Cursor Method .__iter__() being rather notable)

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2010-02-05 20:18:22 Re: plperl db access documentation enhancement
Previous Message Bruce Momjian 2010-02-05 19:32:13 Re: [COMMITTERS] pgsql: Remove tabs in SGML.