Re: [RFC] ideas for a new Python DBAPI driver (was Re: libpq test suite)

Поиск
Список
Период
Сортировка
От Jonathan Rogers
Тема Re: [RFC] ideas for a new Python DBAPI driver (was Re: libpq test suite)
Дата
Msg-id 511D1C50.3000904@socialserve.com
обсуждение исходный текст
Ответ на [RFC] ideas for a new Python DBAPI driver (was Re: libpq test suite)  (Manlio Perillo <manlio.perillo@gmail.com>)
Ответы Re: [RFC] ideas for a new Python DBAPI driver (was Re: libpq test suite)  (Manlio Perillo <manlio.perillo@gmail.com>)
Список pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A number of the described features sound quite useful. Is it not
practical to extend an existing library such as psycopg2? What method
will you use to call libpq functions? As you are no doubt aware,
psycopg2 uses the traditional CPython API but there is a fork which uses
ctypes instead, enabling it to work with CPython and Pypy.

Manlio Perillo wrote:

> For my Python DBAPI2 PostgreSQL driver I plan the following optimizations:
> 
> 2) when the driver detects a Python string is being sent to the
>    database, use binary format.

What exactly do you mean by "Python string"?


- -- 
Jonathan Ross Rogers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEdHFAACgkQVmXTv6uMqqOlzgCgxcGtjwFqK1AMKAED9rK5YSOa
3AMAoJhw4197HPBrjpxG/iSLK43B1B3j
=RnaP
-----END PGP SIGNATURE-----



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: sql_drop Event Trigger
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: 9.2.3 crashes during archive recovery