Re: fedora-accounts:: pgdb.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx> wrote:
On 7/5/07, Elliot Lee <sopwith@xxxxxxxxx> 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list



[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux