libpq++ : Disconnect a DB - Mailing list pgsql-general

From Renaud Tthonnart
Subject libpq++ : Disconnect a DB
Date
Msg-id 3A9FAB4A.E34B72A7@amwdb.u-strasbg.fr
Whole thread Raw
List pgsql-general
Good afternoon everyone,

By declaring a PgDatabase variable like this, I know that I make a
connection to the DB 'test'

PgDatabase data("dbname = test");


How to end connection?
By making this?

delete data;
data = NULL;


regards, Renaud THONNART


pgsql-general by date:

Previous
From: John Burski
Date:
Subject: Re: AW: AW: Addison-Wesley looking for authors
Next
From: martin.chantler@convergys.com
Date:
Subject: Re: Migrate from MS SQL 6.5 to postgres??