Re: Confusion over Python drivers

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Confusion over Python drivers
Date: 2010-02-05 21:01:52
Message-ID: 201002052101.o15L1qb10127@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Smith wrote:
> Bruce Momjian wrote:
> > While I realize experienced people can easily navigate this confusion...
>
> No, that's the worst part--the more you know and the deeper you dig into
> it, the more broken you realize the whole thing is. When one of the
> best drivers (in some respects) has a web page that looks like this:
> http://initd.org/ that doesn't seem so bad at first--but if you're
> experienced, you know that the page has been in that disturbing state
> since late 2006. You start digging into the driver mess, figure you
> just need to learn how things fit together, but the hole keeps getting
> bigger as you dig.
>
> The issues here have already been identified: the Perl DBI is an
> excellent spec, while the Python one is so weak everybody ends up
> needing their own extensions to it. And then portability *even among
> Python PostgreSQL drivers* goes out the window. If somebody built a
> BSD/MIT licensed driver that replaces every useful feature of all the
> forks, with no major problems, and a couple of major projects switched
> over to it (think "Skype" level big), maybe this mess could get
> resolved. I think it would take someone already familiar with the major
> issues involved a couple of months of regular work to make any serious
> progress on it.

Yes, it is going to take serious time, and it is going to take more than
one person to be involved, but I think there are enough people who care
that something serious can be done to improve its current state.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Hunsaker 2010-02-05 21:08:27 Re: Add on_plperl_init and on_plperlu_init to plperl UPDATE 3 [PATCH]
Previous Message Bruce Momjian 2010-02-05 20:53:57 Re: Strange heuristic in analyze.c