Re: [PATCH] Improve hstore support

Поиск
Список
Период
Сортировка
От Jean-Baptiste Quenot
Тема Re: [PATCH] Improve hstore support
Дата
Msg-id AANLkTimzXEfrqsViGVvONWQ28BJY_MOeByd=ibQoKtUH@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Improve hstore support  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
2011/2/25 Daniele Varrazzo <daniele.varrazzo@gmail.com>:
> Please note that RealDictCursor is advertised as a "specialized" one
> (see http://initd.org/psycopg/docs/extras.html#real-dictionary-cursor):
> it is documented that it doesn't respect the dbapi interface so I
> expect several higher level areas of the libraries not working
> correctly with them. You can work around the problem in
> register_hstore() by manually querying an oid and passing it as
> register_hstore oid keyword (see
> http://initd.org/psycopg/docs/extras.html#psycopg2.extras.register_hstore
> - the feature is new in 2.4).

OK I integrated the OID query on my side, and pass it to the
connection constructor.  That's fine that way.

Thanks for your dedication,
--
Jean-Baptiste Quenot

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

Предыдущее
От: "Eric Snow"
Дата:
Сообщение: Re: SystemError: null argument to internal routine
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: SystemError: null argument to internal routine