Re: BoolsAsChar - Mailing list pgsql-odbc

From Dave Page
Subject Re: BoolsAsChar
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B8128D61@mail.vale-housing.co.uk
Whole thread Raw
In response to BoolsAsChar  (Eric Hallander <ehallander@tellium.com>)
List 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 by date:

Previous
From: "Han"
Date:
Subject: Re: Bug in psqlodbc7.03.0001
Next
From: Eric Hallander
Date:
Subject: Re: BoolsAsChar