Hello Jason,
Is this patch right for you? Can we merge it to the 2.6 branch or dowe break something else?
https://github.com/psycopg/psycopg2/pull/350
Thank you very much!
-- Daniele