libpq++ : Disconnect a DB

From: Renaud Tthonnart <thonnart(at)amwdb(dot)u-strasbg(dot)fr>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: libpq++ : Disconnect a DB
Date: 2001-03-06 08:21:48
Message-ID: 3AA49E1C.3C34587C@amwdb.u-strasbg.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Good morning 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;

regards, Renaud THONNART

Browse pgsql-general by date

  From Date Subject
Next Message Frank Nijenhuis 2001-03-06 08:55:05 remote dumping of databases
Previous Message Lincoln Yeoh 2001-03-06 07:44:51 max(field) vs select field .. order by desc limit 1