pgsql improvements round 2
pgsql improvements round 2

- kill PQsetnonblocking(), it's not what one thinks.
- keep doing the PQconsumeInput()/PQisBusy() dance until
  the former clears all read data.

jorisvink/kore,jorisvink/kore