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())
130 {
ECPGconnect(__LINE__, 0,
"ecpg1_regression" , NULL, NULL , NULL, 0);
177 ECPGt_char,(s),(
long)200,(
long)1,(200)*
sizeof(
char),
185 printf(
"i: %d, s: %s\n",
i, s);
222 printf(
"original CMDLINESYM: %d\n",
i);
234 printf(
"redefined CMDLINESYM: %d\n",
i);
246 printf(
"redefined CMDLINESYM: %d\n",
i);
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::@168 sqlerrm
char sqlerrmc[SQLERRMC_LEN]