From: PGSQL <pgsql@webwork.co.uk>
To: pgsql-odbc@postgresql.org
Subject: Spurious Null Rows with ODBC
Date: Tue, 19 Nov 2002 13:30:29 -0000
Message-ID: <015b01c28fcf$d42a0100$4c576cc1@spacewalker> (raw)
I have just deployed an application which uses ADO / ODBC / PostgreSQL (ODBC
driver 7.02.00.02). Although it tested out fine in the lab, in the real
world queries are occasionally returning a spurious last row in the
recordset (after the genuine last row in the table) which contains Null in
every column position. The circumstances in which this occurs are highly
variable - depending on which rows and columns have been selected in the
query. Of course, code which has every right to expect non-null fields
crashes and burns when this happens.
Any suggestions on how to track this down would be appreciated. We have
limited contact with the user group, so it's going to have to be something
application-side that doesn't cause a massive performance hit.
J
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: pgsql@webwork.co.uk
Subject: Re: Spurious Null Rows with ODBC
In-Reply-To: <015b01c28fcf$d42a0100$4c576cc1@spacewalker>
References: <015b01c28fcf$d42a0100$4c576cc1@spacewalker>
* 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