Answer the question
In order to leave comments, you need to log in
How to read data from Postgres line by line without loading everything into memory?
I found that when I make a query to the database using the PQexec C function, immediately after its execution, a large amount of memory is allocated for the result of the query.
How would I do data reading without loading the entire result into memory, but working with each line in turn?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question