7 #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
9 #line 1 "copystdout.pgc"
14 #ifndef POSTGRES_SQLCA_H
15 #define POSTGRES_SQLCA_H
18 #if defined(WIN32) || defined(__CYGWIN__)
19 #define PGDLLIMPORT __declspec (dllimport)
25 #define SQLERRMC_LEN 150
71 #ifndef POSTGRES_ECPG_INTERNAL
72 #define sqlca (*ECPGget_sqlca())
81 #line 3 "copystdout.pgc"
84 #line 1 "regression.h"
91 #line 4 "copystdout.pgc"
95 #line 6 "copystdout.pgc"
103 {
ECPGconnect(__LINE__, 0,
"ecpg1_regression" , NULL, NULL , NULL, 0);
104 #line 13 "copystdout.pgc"
107 #line 13 "copystdout.pgc"
110 #line 14 "copystdout.pgc"
113 #line 14 "copystdout.pgc"
116 #line 15 "copystdout.pgc"
119 #line 15 "copystdout.pgc"
122 #line 16 "copystdout.pgc"
125 #line 16 "copystdout.pgc"
128 #line 17 "copystdout.pgc"
131 #line 17 "copystdout.pgc"
135 #line 19 "copystdout.pgc"
138 #line 19 "copystdout.pgc"
140 printf (
"copy to STDOUT : sqlca.sqlcode = %ld\n",
sqlca.sqlcode);
143 #line 22 "copystdout.pgc"
146 #line 22 "copystdout.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