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: mtredinnick
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:


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@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 mtredinnick

  • Owner changed from adrian to mtredinnick
  • Triage Stage changed from Unreviewed to Accepted

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

comment:4 Changed 9 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

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