mfenniak / pg8000

A Pure-Python PostgreSQL Driver
http://pythonhosted.org/pg8000/
Other
222 stars 55 forks source link

Update handling of integer keys #135

Closed pfhayes closed 7 years ago

pfhayes commented 7 years ago

This error manifested by trying to access elements in JSON/JSONB arrays. Array access fails because the integers are casted as strings and the array reference is interpreted as an object access without an explicit cast (as seen in https://github.com/mfenniak/pg8000/issues/124)

tlocke commented 7 years ago

Used this PR to create https://github.com/mfenniak/pg8000/commit/14e03bab8b812a73f7e1ef4686d0366543e18ebf

pfhayes commented 7 years ago

Thanks!