Re: BoolsAsChar
| От | Dave Page |
|---|---|
| Тема | Re: BoolsAsChar |
| Дата | |
| Msg-id | 03AF4E498C591348A42FC93DEA9661B8128D61@mail.vale-housing.co.uk обсуждение исходный текст |
| Ответ на | BoolsAsChar (Eric Hallander <ehallander@tellium.com>) |
| Список | pgsql-odbc |
> -----Original Message-----
> From: Matt Clark [mailto:mclark@rushe.aero.org]
> Sent: 12 December 2002 23:39
> To: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] BoolsAsChar
Hi,
> 1 - apparently there is a problem with the flag "ksqo", which
> 7.3 does not
> recognize. I found a patch in the archives which apparently
> just comments out
> the SQLExecDirect call which sets the flag. The patch
> doesn't match the code in
> connection.c, however....
In connection.c here (on the machine that built the distribution) I
have:
/* KSQO (not applicable to 7.1+ - DJP 21/06/2002) */
if (ci->drivers.ksqo && PG_VERSION_LT(self, 7.1))
{
result = PGAPI_ExecDirect(hstmt, "set ksqo to 'ON'",
SQL_NTS);
if ((result != SQL_SUCCESS) && (result !=
SQL_SUCCESS_WITH_INFO))
status = FALSE;
mylog("%s: result %d, status %d from set ksqo\n", func,
result, status);
}
What do you have in connection.c?
Regards, Dave.
В списке pgsql-odbc по дате отправления: