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())
105static 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);
221if (
sqlca.sqlcode < 0)
fb ( 20 );}
230if (
sqlca.sqlcode < 0)
fc (
"50" );}
239if (
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)
struct sqlca_t * ECPGget_sqlca(void)
static int fd(const char *x, int i)
static int fc(const char *x)
struct sqlca_t::@168 sqlerrm
char sqlerrmc[SQLERRMC_LEN]
static zic_t trans[TZ_MAX_LEAPS]