psycopg/psycopg2 — pull request #265 by ojrac (2014-10-01 20:04:00+00:00)
Title: Allow pickling of cursor.description

This is for people using dtuple.py; a dtuple.DatabaseTuple instance
keeps a reference to cursor.description, which is not picklable because
psycopg2 doesn't export the Column namedtuple it uses.

This commit exports the Column namedtuple, and includes a test to verify
the pickle/unpickle works after exporting Column.