libpq++ : constructor - destructor problem with PgConnection

From: Vlyminckx Frederic <frederic(dot)vlyminckx(at)be(dot)bepco(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: libpq++ : constructor - destructor problem with PgConnection
Date: 2000-11-14 14:56:17
Message-ID: 3A115291.81D7D38B@be.bepco.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Attachment Content-Type Size
CursorTest.C text/plain 147 bytes
core application/octet-stream 520.0 KB

Browse pgsql-bugs by date

  From Date Subject
Next Message Elie Atallah 2000-11-14 16:16:49 JDBC
Previous Message webmaster 2000-11-14 13:28:59 PostgreSQL fails to build [ Solaris 8 ]