Hi, I was looking into RM#1409 and found that it is issue with psycopg2 driver handling DictCursor result which is not handling duplicate field names.
I have also raised issue for the same https://github.com/psycopg/psycopg2/issues/454 -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company