PGresult deleted after PQfinish(PGconn)

From: Jose Manuel Lorenzo Lopez <jose-manuel(dot)lorenzo-lopez(at)conti(dot)de>
To: PostgreSQL General List <pgsql-general(at)postgresql(dot)org>
Subject: PGresult deleted after PQfinish(PGconn)
Date: 2000-09-26 10:37:23
Message-ID: 39D07C63.F0339872@conti.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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(dot)lorenzo-lopez(at)conti(dot)de **
**********************************************************************

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2000-09-26 11:31:53 Re: FreeBSD Softupdates??
Previous Message Alfred Perlstein 2000-09-26 10:20:31 Re: FreeBSD Softupdates??