7#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
12#include "ecpg_config.h"
15#define WIN32_LEAN_AND_MEAN
29#ifndef POSTGRES_SQLCA_H
30#define POSTGRES_SQLCA_H
33#if defined(WIN32) || defined(__CYGWIN__)
34#define PGDLLIMPORT __declspec (dllimport)
40#define SQLERRMC_LEN 150
86#ifndef POSTGRES_ECPG_INTERNAL
87#define sqlca (*ECPGget_sqlca())
136 char query [ 256 ] =
"INSERT INTO T VALUES ( ? )" ;
bool ECPGsetcommit(int lineno, const char *mode, const char *connection_name)
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,...)
bool ECPGprepare(int lineno, const char *connection_name, const bool questionmarks, const char *name, const char *variable)
bool ECPGdeallocate(int lineno, int c, const char *connection_name, const char *name)
struct sqlca_t::@175 sqlerrm
char sqlerrmc[SQLERRMC_LEN]
static void * fn(void *arg)
struct sqlca_t * ECPGget_sqlca(void)