From: Rainer Bauer <usenet@munnin.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Snapshot 08.01.0006 available for testing
Date: Thu, 03 Nov 2005 16:49:38 +0100
Message-ID: <djakm11c88jn5fim2l31mnbbp0o06sfe7g@4ax.com> (raw)
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC38EA@ratbert.vale-housing.co.uk>
"Dave Page" schrieb:
>Please take some time to download and test this release, and report any
>regressions from prior snapshots as soon as possible.
I just installed the pgsql and psqlodbc RC1, but "UseServerSidePrepare" is
still broken.
SQL command: "SELECT col1 FROM table WHERE col2=?"
(Note: col1 is a SERIAL, col2 a VARCHAR).
Bind the input [SQLBindParameter] and output [SQLBindCol] parameter before
calling SQLPrepare().
The following call to SQLExecute() returns SQL_SUCCESS. But the first call to
SQLFetch() produces this error message:
<1> {HY010}(3) Null statement result in PGAPI_ExtendedFetch.
If I set "UseServerSidePrepare" to "0", everything works fine.
Using the debugger, I found out that Exec_with_parameters_resolved() will not
call SC_set_Curres(), because stmt->inaccurate_result and
conn->connInfo.disallow_premature are both FALSE.
However, the connections string I use (see below) did work with the "old"
psqlodbc driver 8.00.0102 that I used initially.
Let me know, if I can do anything else to help tracking down this bug.
Rainer
PS: This is my connection setting:
A0=0;A1=6.4;A2=0;A3=0;A4=0;A5=0;A6=;A7=100;A8=8192;A9=0;
B0=254;B1=4095;B2=0;B3=0;B4=1;B5=1;B6=0;B7=1;B8=0;B9=0;
C0=0;C1=0;C2=dd_;C3=0;C4=0;
Lie=0;LFConversion=0;TrueIsMinus1=0;BI=0;ByteaAsLongVarBinary=1;UseServerSidePrepare=1;LowerCaseIdentifier=0;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: usenet@munnin.com
Subject: Re: Snapshot 08.01.0006 available for testing
In-Reply-To: <djakm11c88jn5fim2l31mnbbp0o06sfe7g@4ax.com>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC38EA@ratbert.vale-housing.co.uk> <djakm11c88jn5fim2l31mnbbp0o06sfe7g@4ax.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox