7 #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
9 #line 1 "define_prelim.pgc"
22 #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
27 #ifndef POSTGRES_SQLCA_H
28 #define POSTGRES_SQLCA_H
31 #if defined(WIN32) || defined(__CYGWIN__)
32 #define PGDLLIMPORT __declspec (dllimport)
38 #define SQLERRMC_LEN 150
84 #ifndef POSTGRES_ECPG_INTERNAL
85 #define sqlca (*ECPGget_sqlca())
97 #line 1 "regression.h"
116 #line 10 "define.pgc"
119 #line 11 "define.pgc"
122 #line 12 "define.pgc"
128 #line 16 "define.pgc"
130 {
ECPGconnect(__LINE__, 0,
"ecpg1_regression" , NULL, NULL , NULL, 0);
131 #line 17 "define.pgc"
134 #line 17 "define.pgc"
138 #line 19 "define.pgc"
141 #line 19 "define.pgc"
144 #line 20 "define.pgc"
147 #line 20 "define.pgc"
152 #line 23 "define.pgc"
155 #line 23 "define.pgc"
165 #line 31 "define.pgc"
168 #line 31 "define.pgc"
177 ECPGt_char,(s),(
long)200,(
long)1,(200)*
sizeof(
char),
179 #line 36 "define.pgc"
182 #line 36 "define.pgc"
185 printf(
"i: %d, s: %s\n",
i, s);
190 #line 42 "define.pgc"
193 #line 42 "define.pgc"
206 #line 53 "define.pgc"
209 #line 53 "define.pgc"
217 #line 57 "define.pgc"
220 #line 57 "define.pgc"
222 printf(
"original CMDLINESYM: %d\n",
i);
229 #line 62 "define.pgc"
232 #line 62 "define.pgc"
234 printf(
"redefined CMDLINESYM: %d\n",
i);
241 #line 67 "define.pgc"
244 #line 67 "define.pgc"
246 printf(
"redefined CMDLINESYM: %d\n",
i);
260 #line 81 "define.pgc"
263 #line 81 "define.pgc"
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 ECPGdo(const int lineno, const int compat, const int force_indicator, const char *connection_name, const bool questionmarks, const int st, const char *query,...)
struct sqlca_t * ECPGget_sqlca(void)
char sqlerrmc[SQLERRMC_LEN]
struct sqlca_t::@163 sqlerrm