Alexander Neumann <alexander(at)bumpern(dot)de> writes:
> In short terms: The result code is PGRES_FATAL_ERROR, but the error message
> is an empty string.
AFAIK that shouldn't happen, unless perhaps you are completely out of
memory in the client-side process. What shows up in the postmaster
error log when this occurs?
regards, tom lane