Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C239E4769B2 for ; Tue, 19 Nov 2002 08:34:00 -0500 (EST) Received: from approximator.webwork.co.uk (unknown [193.108.87.4]) by postgresql.org (Postfix) with ESMTP id B7691476A1B for ; Tue, 19 Nov 2002 08:30:22 -0500 (EST) Received: from spacewalker (dhcp-76.bignetty.com [193.108.87.76]) by approximator.webwork.co.uk (Postfix) with SMTP id AC5FA124C for ; Tue, 19 Nov 2002 13:13:21 +0000 (GMT) Message-ID: <015b01c28fcf$d42a0100$4c576cc1@spacewalker> From: "PGSQL" To: Subject: Spurious Null Rows with ODBC Date: Tue, 19 Nov 2002 13:30:29 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/99 X-Sequence-Number: 2276 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