what if PQexec() result is toooooo big?

From: "Aggarwal , Ajay" <ajay(at)crossbeamsys(dot)com>
To: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: what if PQexec() result is toooooo big?
Date: 2000-09-22 16:21:40
Message-ID: 913D1DA53416D411835000508BC244C2032C37@cbsvr1.crossbeamsys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

What happens when the PQexec(..) result is too big to return in one single
response message? Say you are reading a table with millions of entries. Is
there a way to write one single PQexec() request but read the result in
chunks :

"give me the first 500 tuples",
"give me the next 500",
and so on... until you read the entire table.

How does postgres handle these situations?

Ajay

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2000-09-22 16:54:11 Re: Triggers
Previous Message Bruce Guenter 2000-09-22 16:08:06 Re: replication