3 #define POSTGRES_ECPG_INTERNAL
#define ECPG_OUT_OF_MEMORY
#define ECPG_SQLSTATE_ECPG_OUT_OF_MEMORY
void ecpg_raise(int line, int code, const char *sqlstate, const char *str)
char * ecpg_auto_alloc(long size, int lineno)
void ECPGfree_auto_mem(void)
bool ecpg_add_mem(void *ptr, int lineno)
static struct auto_mem * get_auto_allocs(void)
void ecpg_clear_auto_mem(void)
static void auto_mem_key_init(void)
static pthread_key_t auto_mem_key
char * ecpg_alloc(long size, int lineno)
static void auto_mem_destructor(void *arg)
char * ecpg_strdup(const char *string, int lineno)
char * ecpg_realloc(void *ptr, long size, int lineno)
static pthread_once_t auto_mem_once
void ecpg_free(void *ptr)
static void set_auto_allocs(struct auto_mem *am)
void * pthread_getspecific(pthread_key_t key)
void pthread_setspecific(pthread_key_t key, void *val)
static pg_noinline void Size size