Opened 17 years ago

Closed 17 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: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 by Barry Pederson <bp@…>, 17 years ago

Exactly which version of psycopg are you seeing this with?

comment:2 by John Shaffer <jshaffer2112@…>, 17 years ago

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

comment:3 by Malcolm Tredinnick, 17 years ago

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 by Malcolm Tredinnick, 17 years ago

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