Re: [Sqlalchemy-tickets] [sqlalchemy] #2581: PostgreSQL-9.2 JSON datatype
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2013-11-28 16:28:20
|
#2581: PostgreSQL-9.2 JSON datatype ------------------------------+------------------------------- Reporter: plaes | Owner: zzzeek Type: enhancement | Status: new Priority: medium | Milestone: 0.9.xx Component: postgres | Severity: major - 1-3 hours Resolution: | Keywords: Progress State: in queue | ------------------------------+------------------------------- Comment (by zzzeek): some notes, the HSTORE type goes through the effort to provide Python- level parsers as well as support for psycopg2's range plugin - for most users the pure-python HSTORE serializers are not used. The RANGE type OTOH I think took a simplistic approach and just assumes the DBAPI handling of the data in all cases (to that extent, it probably doesn't work on DBAPIs other than psycopg2). for JSON, it would be best if we typically make use of whatever extensions psycopg2 provides (I'm sure they have JSON support now), with a fallback available for when the plugin isn't available. tests will be needed as well. -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2581#comment:17> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |