PGresult deleted after PQfinish(PGconn)

Started by Jose Manuel Lorenzo Lopezover 25 years ago1 messagesgeneral
Jump to latest
#1Jose Manuel Lorenzo Lopez
jose-manuel.lorenzo-lopez@conti.de

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 **
**********************************************************************