| От | Brett Schwarz |
|---|---|
| Тема | Re: Not clear on what PQgetResult does |
| Дата | |
| Msg-id | 20051117201458.4244.qmail@web34601.mail.mud.yahoo.com обсуждение исходный текст |
| Ответ на | Not clear on what PQgetResult does (David Rysdam <drysdam@ll.mit.edu>) |
| Список | pgsql-interfaces |
>
> Let's say I have a table with 1,000,000 rows and I
> PQsendQuery() a query
> to get them all. When I call PQgetResult() the
> first time, will it
> block until all 1,000,000 are ready, or will it send
> back everything
> that's ready at the time I call it?
>
> If the latter, is pgtcl's pg_getresult supposed to
> work the same way?
>
pg_getresult really is just a wrapper around
PQgetResult, so it should behave the same.
See the README.async in pgtcl if you want more info on
async with pgtcl.
--brett
--brett
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера