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 02:05:47
Message-ID: 3AF8A5FB.819D8A92@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-odbc

Bruce Momjian wrote:
>
> > 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.
>

[snip]

>
> And you are saying that this patch fixes a different problem. The user
> reported his problems were fixed by that patch, so I am inclined to
> apply it.
>

I don't agree to apply the patch because the patch makes
the current code hardly understandable.

regards,
Hiroshi inoue

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Palle Girgensohn 2001-05-09 02:45:56 Re: [JDBC] Re: Trouble with JDBC2 ResultSet.getDate()
Previous Message Bruce Momjian 2001-05-09 01:57:11 Re: Postgres odbc driver bug

Browse pgsql-odbc by date

  From Date Subject
Next Message Bruce Momjian 2001-05-09 02:58:08 Re: Re: [INTERFACES] Postgres odbc driver bug
Previous Message Bruce Momjian 2001-05-09 01:57:11 Re: Postgres odbc driver bug