Fix a few errors in our postgresql.client state