Consistent error messages.

Postgres appends line breaks to error messages. This leads to incosistent
behavior, since error messages in Go are usually one liners.