pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jens Kapp <jens-kapp@gmx.de>
To: pgsql-odbc@postgresql.org
To: pgsql-bugs@postgresql.org
Subject: NO DATA error message in Frontend when querying large datasets
Date: Wed, 26 Jan 2011 17:17:51 +0100
Message-ID: <4D40492F.2070108@gmx.de> (raw)

  hello,

we have postgres 9.0.1 installed on a windows 2008 r2 server.
odbc is psqlodbc_09_00_0200.zip.
the database has currently a size of around 800mb.

it works as expected on the server (pgadmin), but if we try queries for 
large datasets we get the error message: "No data" from our frontend or 
any other database tools thats using the ODBC connection (e.g. anysql 
maestro).

1.) first we will make a query with only 1 column. we get data.
2.) then make the same query but with all columns: it says "No data".
3.) Afterwards we try the query from before again, but still getting "No 
data".

Only a reconnect will "fix" that!
here are the results:

select sample_number from result
Query OK, 325194 rows affected (28.75 sec)

select * from result
Query OK, 0 rows affected (8.75 sec)

select sample_number from result
Query OK, 0 rows affected (0.20 sec)

cheers jk



view thread (5+ messages)  latest in thread

Message-ID: <4D40492F.2070108@gmx.de>
Permalink:  ../4D40492F.2070108@gmx.de/
Also on:    postgresql.org/message-id/4D40492F.2070108@gmx.de

 · 

reply

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: jens-kapp@gmx.de, pgsql-bugs@postgresql.org
  Subject: Re: NO DATA error message in Frontend when querying large datasets
  In-Reply-To: <4D40492F.2070108@gmx.de>
  References: <4D40492F.2070108@gmx.de>

* 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