Skip to content
Snippets Groups Projects
Commit cdfac313 authored by Marc G. Fournier's avatar Marc G. Fournier
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment