libpq++ : constructor - destructor problem with PgConnection

Vlyminckx Frederic <frederic.vlyminckx@be.bepco.com>

From: Vlyminckx Frederic <frederic.vlyminckx@be.bepco.com>
To: pgsql-bugs@postgresql.org
Date: 2000-11-14T14:56:17Z
Lists: pgsql-bugs

Attachments

The program:

#include <libpq++.H>
#include <unistd.h>


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


The output:
Segmentation fault (core dumped)