PostgreSQL Source Code: src/interfaces/ecpg/include/sqlca.h File Reference (original) (raw)
Go to the source code of this file.
Macros | |
---|---|
#define | PGDLLIMPORT |
#define | SQLERRMC_LEN 150 |
#define | sqlca (*ECPGget_sqlca()) |
◆ PGDLLIMPORT
◆ SQLERRMC_LEN
◆ ECPGget_sqlca()
struct sqlca_t * ECPGget_sqlca | ( | void | ) |
---|
Definition at line 108 of file misc.c.
109{
111
113
115 if (sqlca == NULL)
116 {
118 if (sqlca == NULL)
119 return NULL;
122 }
124}
static pthread_key_t sqlca_key
void ecpg_init_sqlca(struct sqlca_t *sqlca)
static void ecpg_sqlca_key_init(void)
static pthread_once_t sqlca_key_once
void pthread_setspecific(pthread_key_t key, void *val)
void * pthread_getspecific(pthread_key_t key)