> -----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.