I retrieve asynchronous queries results using PQgetResult() which returns
NULL not in case of some error, but when results end - so there is no way to
know if database responded successfully or there happened some error?
For example, error can happen when column names are miswritten.