projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e05d3e
)
More comment for libpgeasy.
author
Bruce Momjian
<bruce@momjian.us>
Fri, 14 Dec 2001 02:15:04 +0000
(
02:15
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Fri, 14 Dec 2001 02:15:04 +0000
(
02:15
+0000)
src/interfaces/libpgeasy/libpgeasy.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpgeasy/libpgeasy.c
b/src/interfaces/libpgeasy/libpgeasy.c
index c9bbdf39c8d8ae6a173f84daa7a4556b4316d93f..4bddece659cb3d85673beda001ce79c29e709f82 100644
(file)
--- a/
src/interfaces/libpgeasy/libpgeasy.c
+++ b/
src/interfaces/libpgeasy/libpgeasy.c
@@
-27,17
+27,16
@@
static PGconn *conn;
static PGresult *res = NULL;
+static int tuple; /* stores fetch location */
+
#define ON_ERROR_STOP 0
#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;
-/* LOCAL VARIABLES */
-static int tuple;
-
/*
*
* connectdb - returns PGconn structure