7#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
40 char *
stmt1 =
"INSERT INTO test1 VALUES ($1, $2)" ;
43 char *
stmt2 =
"SELECT * from test1 where a = $1 and b = $2" ;
46 char *
stmt3 =
"SELECT * from test1 where :var = a" ;
64 char desc1 [ 8 ] =
"outdesc" ;
273 printf(
"val1=%d (ind1: %d) val2=%s (ind2: %d)\n",
bool ECPGdisconnect(int lineno, const char *connection_name)
bool ECPGconnect(int lineno, int c, const char *name, const char *user, const char *passwd, const char *connection_name, int autocommit)
bool ECPGdeallocate_desc(int line, const char *name)
bool ECPGget_desc(int lineno, const char *desc_name, int index,...)
bool ECPGallocate_desc(int line, const char *name)
bool ECPGset_desc_header(int lineno, const char *desc_name, int count)
bool ECPGset_desc(int lineno, const char *desc_name, int index,...)
bool ECPGdo(const int lineno, const int compat, const int force_indicator, const char *connection_name, const bool questionmarks, const int st, const char *query,...)
bool ECPGdeallocate_all(int lineno, int compat, const char *connection_name)
char * ECPGprepared_statement(const char *connection_name, const char *name, int lineno)
bool ECPGprepare(int lineno, const char *connection_name, const bool questionmarks, const char *name, const char *variable)
bool ECPGdeallocate(int lineno, int c, const char *connection_name, const char *name)