liberapay/postgres.py

see about using NamedTupleCursor instead of RealDictCursor

Closed this issue · 1 comments

Should make this configurable, actually.

psycopg2 added a NamedTupleCursor in version 2.3. What I really want though is an AttrDictCursor. See here for AttrDict. The best solution has a memory leak in Python <2.7.3 and <3.2.3. -:(