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

From Renaud Tthonnart
Subject libpq++ : Disconnect a DB
Date
Msg-id 3AA49E1C.3C34587C@amwdb.u-strasbg.fr
Whole thread Raw
List 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


pgsql-general by date:

Previous
From: "Gregory Wood"
Date:
Subject: Re: MySQLs Describe emulator!
Next
From: Lincoln Yeoh
Date:
Subject: max(field) vs select field .. order by desc limit 1