Re: [PATCH] Improve hstore support - Mailing list psycopg

From Jean-Baptiste Quenot
Subject Re: [PATCH] Improve hstore support
Date
Msg-id AANLkTimzXEfrqsViGVvONWQ28BJY_MOeByd=ibQoKtUH@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Improve hstore support  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List 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 by date:

Previous
From: "Eric Snow"
Date:
Subject: Re: SystemError: null argument to internal routine
Next
From: Daniele Varrazzo
Date:
Subject: Re: SystemError: null argument to internal routine