49 switch (v->
type->type)
89 new->connection = NULL;
104 if (strcmp(
name,
i->name) == 0)
134 if (strcmp(
name,
i->name) == 0)
185 switch (results->
value)
198 NULL, NULL, -1, NULL, NULL, str_zero, NULL, NULL);
232 return "CARDINALITY";
238 return "DATETIME_INTERVAL_CODE";
240 return "DATETIME_INTERVAL_PRECISION";
252 return "OCTET_LENGTH";
256 return "RETURNED_LENGTH";
258 return "RETURNED_OCTET_LENGTH";
278 switch (results->
value)
308 NULL, NULL, -1, NULL, NULL, str_zero, NULL, NULL);
329 #define MAX_DESCRIPTOR_NAMELEN 128
335 static struct variable varspace[2] = {
336 {descriptor_names[0], &descriptor_type, 0, NULL},
337 {descriptor_names[1], &descriptor_type, 0, NULL}
341 return &varspace[
input];
357 p->
type->type_name = NULL;
358 p->
type->size = NULL;
359 p->
type->struct_sizeof = NULL;
360 p->
type->u.element = NULL;
361 p->
type->counter = 0;
@ ECPGt_unsigned_long_long
void whenever_action(int mode)
size_t strlcpy(char *dst, const char *src, size_t siz)
void output_set_descr(const char *desc_name, const char *index)
struct variable * descriptor_variable(const char *name, int input)
void add_descriptor(const char *name, const char *connection)
static struct descriptor * descriptors
static struct assignment * assignments
void push_assignment(const char *var, enum ECPGdtype value)
void output_get_descr_header(const char *desc_name)
struct descriptor * lookup_descriptor(const char *name, const char *connection)
static void ECPGnumeric_lvalue(char *name)
void drop_descriptor(const char *name, const char *connection)
void output_get_descr(const char *desc_name, const char *index)
static const char * descriptor_item_name(enum ECPGdtype itemcode)
void output_set_descr_header(const char *desc_name)
static void drop_assignments(void)
struct variable * sqlda_variable(const char *name)
#define MAX_DESCRIPTOR_NAMELEN
void mmerror(int error_code, enum errortype type, const char *error,...) pg_attribute_printf(3
char * loc_strdup(const char *string)
char * mm_strdup(const char *string)
void void mmfatal(int error_code, const char *error,...) pg_attribute_printf(2
const char * get_dtype(enum ECPGdtype)
struct variable * find_variable(const char *name)
void * loc_alloc(size_t size)
void * mm_alloc(size_t size)
void ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype *type, const int brace_level, const char *ind_name, struct ECPGtype *ind_type, const int ind_brace_level, const char *prefix, const char *ind_prefix, char *arr_str_size, const char *struct_sizeof, const char *ind_struct_sizeof)