lib/pq is out of maintenance for some time now, so switch to the newer more active library. Looks like it finally stabilized after a long time.