Make the common error messages more consistent

There are still several cases where the user could see an error not
prefixed with "pq: ", but there's no real reason why we couldn't fix
these instances.