CursorTest.C

text/plain

Filename: CursorTest.C
Type: text/plain
Part: 0
Message: libpq++ : constructor - destructor problem with PgConnection
#include <libpq++.H>
#include <unistd.h>


void main() {
   char *db = "dbname=ncadb";
   while (true) {    
      PgConnection data(db);
   }
}