Oleg Anashkin
Not a member
Oleg Anashkin's latest activity
Monday, February 03 2014
-
Oleg Anashkin created the ticket at 4:19 AMCurrently, attempt to log or print Json object uses default python's implementation which is useless. Using actual serialized content is much better.
I have sen...
Tuesday, January 14 2014
-
Oleg Anashkin commented at 7:07 PMThank you guys for your quick responses and for helping with this issue.
-
Oleg Anashkin commented at 4:55 PMI peeked into psycopg's code and found that inside register_json it always creates typecasters to perform loads/dumps on the column data, therefore unpacking th...
-
-
-
Oleg Anashkin commented at 4:03 PMOk, so as I understand the problem is that the json record is actually eval'd by psycopg instead of being converted to text, right? Similar to what Daniele was ...
-
Oleg Anashkin edited a comment at 4:04 PMOk, so as I understand the problem is that the json record is actually eval'd by psycopg instead of being converted to text, right? Similar to what Daniele was ...
-
Oleg Anashkin commented at 3:50 PMAnd here is repro using python:
import psycopg2 conn = psycopg2.connect(database='ebooktracker') cur = conn.cursor() cur.execute("select properties from book ... -
Oleg Anashkin commented at 3:45 PMSorry, fixed formatting:
ebooktracker=# \d+ book; Table "public.book" Column | ... -
Oleg Anashkin commented at 3:45 PMI'm sorry, but this is json and I got it from postgres. Attaching screenshot. Column type is json. Here is the table schema:
ebooktracker=# \d+ book;
Table "pub...