Thread: PGresult deleted after PQfinish(PGconn)

PGresult deleted after PQfinish(PGconn)

From
Jose Manuel Lorenzo Lopez
Date:
I am trying to create a class for my application that handles
postgres access via the C interfaces.

My question is the following:

Will be PGresult also deleted when I close a connection with
PQfinish(PGconn), or am I supposed to delete the handle on
PGresult by myself after closing connection to Postgresql.

Thanks in advance

José Manuel Lorenzo López
--
**********************************************************************
** José Manuel Lorenzo López                                        **
**                                        **
** ICA Informationssysteme Consulting & Anwendungsgesellschaft mbH  **
** Dept. SAP Basis R/3  VBue                                        **
**                                                                  **
** e-mail to: jose-manuel.lorenzo-lopez@conti.de                    **
**********************************************************************