diff options
author | Byron Nikolaidis <byronn@insightdist.com> | 1999-01-08 18:24:45 +0000 |
---|---|---|
committer | Byron Nikolaidis <byronn@insightdist.com> | 1999-01-08 18:24:45 +0000 |
commit | 0b644ad332f5c9cfb074c41462e6274b72c39d5d (patch) | |
tree | d1066d3d46ed58468432f85b920182cca38cf555 /src/interfaces/odbc/statement.h | |
parent | 97b88f1c1599b029e67e4686029c0ad4b8281b33 (diff) | |
download | postgresql-0b644ad332f5c9cfb074c41462e6274b72c39d5d.tar.gz postgresql-0b644ad332f5c9cfb074c41462e6274b72c39d5d.zip |
Update 06-40-0004 -- Add Bookmark support!
Diffstat (limited to 'src/interfaces/odbc/statement.h')
-rw-r--r-- | src/interfaces/odbc/statement.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interfaces/odbc/statement.h b/src/interfaces/odbc/statement.h index 82d047e1a1a..d2d86e430a2 100644 --- a/src/interfaces/odbc/statement.h +++ b/src/interfaces/odbc/statement.h @@ -15,6 +15,7 @@ #endif #include "psqlodbc.h" +#include "bind.h" #ifndef WIN32 #include "iodbc.h" @@ -71,6 +72,8 @@ typedef enum { #define STMT_OPERATION_CANCELLED 22 #define STMT_INVALID_CURSOR_POSITION 23 #define STMT_VALUE_OUT_OF_RANGE 24 +#define STMT_OPERATION_INVALID 25 +#define STMT_PROGRAM_TYPE_OUT_OF_RANGE 26 /* statement types */ enum { @@ -142,6 +145,7 @@ struct StatementClass_ { /* information on bindings */ BindInfoClass *bindings; /* array to store the binding information */ + BindInfoClass bookmark; int bindings_allocated; /* information on statement parameters */ @@ -207,6 +211,7 @@ RETCODE SC_execute(StatementClass *self); RETCODE SC_fetch(StatementClass *self); void SC_free_params(StatementClass *self, char option); void SC_log_error(char *func, char *desc, StatementClass *self); +unsigned long SC_get_bookmark(StatementClass *self); #endif |