Re: [PATCH] Improve hstore support

From: Jean-Baptiste Quenot <jbq(at)caraldi(dot)com>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: [PATCH] Improve hstore support
Date: 2011-03-07 18:08:19
Message-ID: AANLkTimzXEfrqsViGVvONWQ28BJY_MOeByd=ibQoKtUH@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

2011/2/25 Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)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

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2011-03-07 20:09:05 Re: SystemError: null argument to internal routine
Previous Message Eric Snow 2011-03-07 17:59:00 Re: SystemError: null argument to internal routine