Opened 9 years ago

Closed 9 years ago

#5134 closed (fixed)

postgresql backend doesn't cast empty strings to unicode

Reported by: John Shaffer <jshaffer2112@…> Owned by: Malcolm Tredinnick
Component: Database layer (models, ORM) Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

As far as I am aware, every other backend returns every string as unicode.

This is very minor in practice, but it does make doctests uglier.

Change History (4)

comment:1 Changed 9 years ago by Barry Pederson <bp@…>

Exactly which version of psycopg are you seeing this with?

comment:2 Changed 9 years ago by John Shaffer <jshaffer2112@…>

libpq5 8.2.4-0ubuntu0.7.04
python-psycopg 1.1.21-13ubuntu1
python 2.5.1-0ubuntu1

comment:3 Changed 9 years ago by Malcolm Tredinnick

Owner: changed from Adrian Holovaty to Malcolm Tredinnick
Triage Stage: UnreviewedAccepted

Indeed. Should be easy to fix, too. I'll do it this afternoon.

comment:4 Changed 9 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [5834]) Fixed #5134 -- Return empty strings as Unicode in psycopg1 backend.

Note: See TracTickets for help on using tickets.
Back to Top