postgres text array quoting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Storm |
New
|
Undecided
|
Unassigned |
Bug Description
With the attached testcase I get the following error:
$ nosetests tests.store.
F
=======
FAIL: test_list_
-------
Traceback (most recent call last):
File "/Users/
result = test_method()
File "/Users/
self.
AssertionError: ([u'{"quote": "\\\\""}', u'{"backslash": "\\\\\\\\"}'],) != ([u'{"quote": "\\""}', u'{"backslash": "\\\\"}'],)
-------
Ran 1 test in 0.125s
FAILED (failures=1)
I can reproduce this with plain psycopg2, too, bug filed here: http:// psycopg. lighthouseapp. com/projects/ 62710/tickets/ 71-wrong- quoting- of-text- arrays# ticket- 71-1