Re: Confusion over Python drivers - Mailing list pgsql-hackers

From James William Pye
Subject Re: Confusion over Python drivers
Date
Msg-id 8C2F9319-B7C6-4C2D-B0A2-EAE4867981B3@jwp.name
Whole thread Raw
In response to Re: Confusion over Python drivers  (Josh Berkus <josh@agliodbs.com>)
List 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",
butit's inadequate]- Too many *optional* extensions (Cursor Method .__iter__() being rather notable) 

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


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Hot Standby and DROP DATABASE
Next
From: James William Pye
Date:
Subject: Re: Confusion over Python drivers