psqlodbc.git / summary / log / commit / refs
commit 4ca4dce2fb14cfdd0e1be01a375768f2db07e615
Author: Dave Page <dpage@pgadmin.org>
Date: Wed Jun 18 12:49:21 2003 +0000
when a column SQL_C_CHAR is handled in ResolveOneParam, the conversion
is coded dependent on param_sqltype. If a SQL_CHAR variable is bound to
it, no conversion takes place, which is incorrect. ODBC architecture
assumes sqltype to be the server_encoding, but this is irrelevant for
pgsql. Instead, everything is done with client_encoding (anything but
UNICODE doesn't make sense here), so we need a conversion to UTF-8 in
any case.
[Andreas Pflug]
[parent: 7248903cdb7e]