Commit cdfac313 authored by Marc G. Fournier's avatar Marc G. Fournier

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>
parent 74e01591
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <libpq-fe.h> #include <libpq-fe.h>
#include <libpq/pqcomm.h> #include <libpq/pqcomm.h>
static PGconn *simple_connection; static PGconn *simple_connection = NULL;
static int simple_debug = 0; static int simple_debug = 0;
static FILE *debugstream = NULL; static FILE *debugstream = NULL;
static int committed = true; static int committed = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment