mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
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:
parent
74e015916e
commit
cdfac31335
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user