Support needed for geometry types

Bug #412002 reported by Dan Halbert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pg8000
Fix Committed
Undecided
Mariano Reingart

Bug Description

Geometry types (point, box, line, etc.) are not supported, and generated errors like "type oid 603 not mapped to py type".

If otherwise unsupported types like enums (see bug #412000) were supported as strings, that would be a workaround. The geometry values would go in and out as strings. Tuples would be better in the long run.

Revision history for this message
Mariano Reingart (reingart) wrote :

I've made a maintenance fork:

http://code.google.com/p/pg8000/

I've added a patch with register_geo() function to automatically convert geometry types into tuples

You can see the fix at:

http://code.google.com/p/pg8000/source/detail?r=fdc4d3740778f782a159c2bba108b0b091d94ece

If you have new issues, if you can please report it in the googlecode project issues

Changed in pg8000:
assignee: nobody → Mariano Reingart (reingart)
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.