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())
105 static int fd(
const char *
x,
int i)
113 printf(
"in fe (%d)\n", (
int)
x);
131 static const int i=2;
137 struct sa x = { 14 },*
y = &
x;
159 int b2 = ( 14 * 7 ) ;
203 printf(
"%d %d %d %d %d %d %d %d %d %d %d\n",
a,
b, b2,
c, d,
e, f, g, h,
i,
j);
212 if (
sqlca.sqlcode < 0)
fa ( );}
221 if (
sqlca.sqlcode < 0)
fb ( 20 );}
230 if (
sqlca.sqlcode < 0)
fc (
"50" );}
239 if (
sqlca.sqlcode < 0)
fd (
"50" , 1 );}
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,...)
static void sqlnotice(const char *notice, short trans)
static int fd(const char *x, int i)
struct sqlca_t * ECPGget_sqlca(void)
static int fc(const char *x)
char sqlerrmc[SQLERRMC_LEN]
struct sqlca_t::@163 sqlerrm
static zic_t trans[TZ_MAX_LEAPS]