libpq++ : constructor - destructor problem with PgConnection - Mailing list pgsql-bugs

From Vlyminckx Frederic
Subject libpq++ : constructor - destructor problem with PgConnection
Date
Msg-id 3A115291.81D7D38B@be.bepco.com
Whole thread Raw
List pgsql-bugs
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)
#include <libpq++.H>
#include <unistd.h>


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



Attachment

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [INTERFACES] Re: no meaningful way to determine fe or be version?
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Use a view as opposed to a table and it doesn't work!