7 #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
9 #line 1 "descriptor.pgc"
11 #define WIN32_LEAN_AND_MEAN
25 #ifndef POSTGRES_SQLCA_H
26 #define POSTGRES_SQLCA_H
29 #if defined(WIN32) || defined(__CYGWIN__)
30 #define PGDLLIMPORT __declspec (dllimport)
36 #define SQLERRMC_LEN 150
82 #ifndef POSTGRES_ECPG_INTERNAL
83 #define sqlca (*ECPGget_sqlca())
92 #line 14 "descriptor.pgc"
95 #line 15 "descriptor.pgc"
98 #line 16 "descriptor.pgc"
102 static unsigned __stdcall
fn(
void*
arg)
112 #line 28 "descriptor.pgc"
115 #line 28 "descriptor.pgc"
118 #line 29 "descriptor.pgc"
121 #line 29 "descriptor.pgc"
141 threads[
i] = (HANDLE)_beginthreadex(NULL, 0,
fn, NULL, 0, &
id);
144 WaitForMultipleObjects(
THREADS, threads, TRUE, INFINITE);
146 CloseHandle(threads[
i]);
149 pthread_create(&threads[
i], NULL,
fn, NULL);
151 pthread_join(threads[
i], NULL);
bool ECPGdeallocate_desc(int line, const char *name)
bool ECPGallocate_desc(int line, const char *name)
char sqlerrmc[SQLERRMC_LEN]
struct sqlca_t::@163 sqlerrm
static void * fn(void *arg)
struct sqlca_t * ECPGget_sqlca(void)