My impression is that libpq buffers all results of a query. Is there a way to get a "result stream" from the backend instead of having libpq read everything into a local buffer first? Currently, my application, after a query, simply copies the entire buffer from the libpq side into storage on the application side. This seems expensive for large queries. I'd rather read results directly into storage on the application side, i.e., "while input get next value from backend". (I know about libpqeasy, but this only iterates over the libpq buffer.) Tim -- Timothy H. Keitt Department of Ecology and Evolution State University of New York at Stony Brook Phone: 631-632-1101, FAX: 631-632-7626 http://life.bio.sunysb.edu/ee/keitt/
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера