7 #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
12 #ifndef POSTGRES_SQLCA_H
13 #define POSTGRES_SQLCA_H
16 #if defined(WIN32) || defined(__CYGWIN__)
17 #define PGDLLIMPORT __declspec (dllimport)
23 #define SQLERRMC_LEN 150
69 #ifndef POSTGRES_ECPG_INTERNAL
70 #define sqlca (*ECPGget_sqlca())
82 #line 1 "regression.h"
101 #line 10 "define.pgc"
104 #line 11 "define.pgc"
107 #line 12 "define.pgc"
113 #line 16 "define.pgc"
115 {
ECPGconnect(__LINE__, 0,
"ecpg1_regression" , NULL, NULL , NULL, 0);
116 #line 17 "define.pgc"
119 #line 17 "define.pgc"
123 #line 19 "define.pgc"
126 #line 19 "define.pgc"
129 #line 20 "define.pgc"
132 #line 20 "define.pgc"
137 #line 23 "define.pgc"
140 #line 23 "define.pgc"
150 #line 31 "define.pgc"
153 #line 31 "define.pgc"
162 ECPGt_char,(s),(
long)200,(
long)1,(200)*
sizeof(
char),
164 #line 36 "define.pgc"
167 #line 36 "define.pgc"
170 printf(
"i: %d, s: %s\n",
i, s);
175 #line 42 "define.pgc"
178 #line 42 "define.pgc"
191 #line 53 "define.pgc"
194 #line 53 "define.pgc"
199 #line 56 "define.pgc"
202 #line 56 "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)
struct sqlca_t::@151 sqlerrm
char sqlerrmc[SQLERRMC_LEN]