Using the distributed examples as a guide, I wrote
a c++ code to execute a large suite of queries.
Each query opens and closes a backend. I notice
a *big leak* when large numbers of tuples are returned.
I get the same behavior using libpq (with PQclears and
PQ finishes explicitly) or using libpq++.
I'm probably doing something wrong but I followed the
docs and examples carefully. Any ideas or suggestions?
Thanks.
--Martin