mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
More comment for libpgeasy.
This commit is contained in:
@ -27,17 +27,16 @@
|
|||||||
static PGconn *conn;
|
static PGconn *conn;
|
||||||
static PGresult *res = NULL;
|
static PGresult *res = NULL;
|
||||||
|
|
||||||
|
static int tuple; /* stores fetch location */
|
||||||
|
|
||||||
#define ON_ERROR_STOP 0
|
#define ON_ERROR_STOP 0
|
||||||
#define ON_ERROR_CONTINUE 1
|
#define ON_ERROR_CONTINUE 1
|
||||||
|
|
||||||
static int on_error_state = ON_ERROR_STOP;
|
static int on_error_state = ON_ERROR_STOP; /* halt on errors? */
|
||||||
|
|
||||||
static int in_result_block = FALSE;
|
static int in_result_block = FALSE;
|
||||||
static int was_get_unset_result = FALSE;
|
static int was_get_unset_result = FALSE;
|
||||||
|
|
||||||
/* LOCAL VARIABLES */
|
|
||||||
static int tuple;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* connectdb - returns PGconn structure
|
* connectdb - returns PGconn structure
|
||||||
|
Reference in New Issue
Block a user