Skip site navigation (1) Skip section navigation (2)

Re: Re: [INTERFACES] Postgres odbc driver bug

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Keith Millard <Kmillard(at)pumatech(dot)com>, PostgreSQL odbc list <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Re: [INTERFACES] Postgres odbc driver bug
Date: 2001-05-09 01:11:50
Message-ID: 3AF89956.47FEDBF5@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-odbc
Bruce Momjian wrote:
> 
> OK, I have created a context diff of your changes, which is attached.
> Can someone comment on this?  The patch appears to deal with
> STMT_PREMATURE differently than our current code.
> 
> In fact, it seems to disable this code:
> 
>     /*
>      * If the statement is premature, it means we already executed it from
>      * an SQLPrepare/SQLDescribeCol type of scenario.  So just return
>      * success.
>      */
>     if (stmt->prepare && stmt->status == STMT_PREMATURE)
> 

Though this fixes the bug reported by Keith, STMT_PREMATURE
loses its meaning and SC_pre_execute() does a non-essential
work as a result. Possibly SQLPrepare() must be rewritten
though I'm not sure.  

regards,
Hiroshi Inoue

In response to

Responses

pgsql-odbc by date

Next:From: Hiroshi InoueDate: 2001-05-09 01:16:32
Subject: Re: [ODBC] Re: Postgres odbc driver bug
Previous:From: Robert HurstDate: 2001-05-08 22:41:10
Subject: Case sensitivity

pgsql-interfaces by date

Next:From: Hiroshi InoueDate: 2001-05-09 01:16:32
Subject: Re: [ODBC] Re: Postgres odbc driver bug
Previous:From: Edward GrabczewskiDate: 2001-05-09 01:00:03
Subject: Re: libpgtcl and WinNT

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group