fedora-accounts:: pgdb.py

Elliot Lee sopwith at gmail.com
Fri Jul 6 01:53:51 UTC 2007


I'm sure you can do just about anything with any module that takes SQL
statements. Whether it's easy or not is another matter... I know I've
looked at psycopg and some of the other modules at one point, and they
just didn't seem as easy to me to use. (At least one of them couldn't
easily handle simultaneous queries from multiple threads on the same
connection...) I'm sure the state of the art has advanced and it's
perfectly possible that python-pgsql or another module would do the
trick.

Note that the pgdb.py API is what comes with postgresql itself as the
postgresql-python package. So it's not junk by any means :)

Best,
-- Elliot

On 7/5/07, Konstantin Ryabitsev <icon at fedoraproject.org> wrote:
> On 7/5/07, Elliot Lee <sopwith at gmail.com> wrote:
> > It has some modifications that made it possible/easier to do some
> > things. IIIRC, all the modifications had to do with quoting of query
> > params - e.g. to allow passing an array in as a query param and having
> > it quoted properly for the 'IN' operator.
>
> Can this be done using python-pgsql?
>
> --
> Konstantin Ryabitsev
> Montréal, Québec
>
> _______________________________________________
> Fedora-infrastructure-list mailing list
> Fedora-infrastructure-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
>




More information about the Fedora-infrastructure-list mailing list