diff options
Diffstat (limited to 'src/interfaces/odbc/connection.c')
-rw-r--r-- | src/interfaces/odbc/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/odbc/connection.c b/src/interfaces/odbc/connection.c index 45a23386e33..e3c0563ec2d 100644 --- a/src/interfaces/odbc/connection.c +++ b/src/interfaces/odbc/connection.c @@ -999,6 +999,7 @@ another_version_retry: if (res = CC_send_query(self, "set client_encoding to 'UTF8'", NULL, CLEAR_RESULT_ON_ABORT), res) { self->client_encoding = strdup("UNICODE"); + self->ccsc = pg_CS_code(self->client_encoding); QR_Destructor(res); } |