"Jillian Carroll" <jillian(at)koskie(dot)com> writes:
> failure) Error while executing the query; Query string is too long
I'd guess that you have an obsolete version of either the Postgres
server or the ODBC driver. That error has been gone since circa
7.0.
regards, tom lane