Update pq3.py

Prevents the behaviour in [#72|https://github.com/python-postgres/fe/issues/72] from arising.