I'm getting a SEGV error when testing ecpg using the perftest,or

any other, example program.

I have tracked this down to a call to PQfinish() in ECPGfinish()
that occurs before any connection is established.

From: Keith Parks <emkxp01@mtcc.demon.co.uk>
This commit is contained in:
Marc G. Fournier 1998-02-18 01:30:42 +00:00
parent 74e015916e
commit cdfac31335
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
#include <libpq-fe.h>
#include <libpq/pqcomm.h>
static PGconn *simple_connection;
static PGconn *simple_connection = NULL;
static int simple_debug = 0;
static FILE *debugstream = NULL;
static int committed = true;