what if PQexec() result is toooooo big?

Поиск
Список
Период
Сортировка
От Aggarwal , Ajay
Тема what if PQexec() result is toooooo big?
Дата
Msg-id 913D1DA53416D411835000508BC244C2032C37@cbsvr1.crossbeamsys.com
обсуждение исходный текст
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Guenter
Дата:
Сообщение: Re: replication
Следующее
От: Adam Haberlach
Дата:
Сообщение: Re: one more word about rules