Matthias Raffelsieper <hoschiraffel(at)freenet(dot)de> writes:
> It would however have helped if I had gotten back the expected type and
> the actually provided type; even in verbose mode this was not supplied.
Yeah, I came to the same conclusion. I've done something about this:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7980ab30ecf36162699f138697e2ff5589d9063e
regards, tom lane