I need to connect to an old PostGreSQL database (version 7.3), and I am using Python 3.2 on an XP machine. The py-postgresql package seemed appropriate, but it seems that it only uses the 3.0 protocol, which was implemented in version 7.4. I'd like to connect to this database using Python, but when I've tried I have received an unexpected EOF error, which I believe is the result of the package using the newer protocol.
I can use the pgAdminIII program to connect to the database just fine. Any ideas?