Re: LibPQ: Lifetime of PGresult passed in to PQnoticeReceiver callback

2021-12-14 Thread Dmitry Igrishin
пн, 13 дек. 2021 г. в 11:43, Dominique Devienne : > > Hi, > > The doc at > https://www.postgresql.org/docs/current/libpq-notice-processing.html is not > clear to me on whether it should be PQclear'd or not. Who manages the > lifetime of that PGresult? libpq. That PGresult cleared by libpq right

Re: LibPQ: Lifetime of PGresult passed in to PQnoticeReceiver callback

2021-12-14 Thread Dominique Devienne
Hi again. Is this not the right ML? Which PostgreSQL ML should this question be asked to, to have a chance to get an answer? I'm new to this particular ML, and I'm surprised by the silence. Thanks, --DD On Mon, Dec 13, 2021 at 9:46 AM Dominique Devienne wrote: > Hi, > > The doc at > https://www.

LibPQ: Lifetime of PGresult passed in to PQnoticeReceiver callback

2021-12-13 Thread Dominique Devienne
Hi, The doc at https://www.postgresql.org/docs/current/libpq-notice-processing.html is not clear to me on whether it should be PQclear'd or not. Who manages the lifetime of that PGresult? Also, the "could be called as long as either the PGconn or PGresult exist" mention, implies we do not need to