PostgreSQL Source Code
git master
|
#include "postgres_fe.h"
#include "catalog/pg_type_d.h"
#include "ecpglib.h"
#include "ecpglib_extern.h"
#include "ecpgtype.h"
#include "sql3types.h"
#include "sqltypes.h"
Go to the source code of this file.
Macros | |
#define | POSTGRES_ECPG_INTERNAL |
Functions | |
const char * | ecpg_type_name (enum ECPGttype typ) |
int | ecpg_dynamic_type (Oid type) |
int | sqlda_dynamic_type (Oid type, enum COMPAT_MODE compat) |
#define POSTGRES_ECPG_INTERNAL |
Definition at line 3 of file typename.c.
int ecpg_dynamic_type | ( | Oid | type | ) |
Definition at line 73 of file typename.c.
References SQL3_BOOLEAN, SQL3_CHARACTER, SQL3_CHARACTER_VARYING, SQL3_DATE_TIME_TIMESTAMP, SQL3_DOUBLE_PRECISION, SQL3_INTEGER, SQL3_NUMERIC, SQL3_REAL, SQL3_SMALLINT, and type.
Referenced by ECPGget_desc().
const char* ecpg_type_name | ( | enum ECPGttype | typ | ) |
Definition at line 17 of file typename.c.
References ECPGt_bool, ECPGt_bytea, ECPGt_char, ECPGt_char_variable, ECPGt_const, ECPGt_date, ECPGt_decimal, ECPGt_double, ECPGt_float, ECPGt_int, ECPGt_interval, ECPGt_long, ECPGt_long_long, ECPGt_numeric, ECPGt_short, ECPGt_string, ECPGt_timestamp, ECPGt_unsigned_char, ECPGt_unsigned_int, ECPGt_unsigned_long, ECPGt_unsigned_long_long, ECPGt_unsigned_short, and ECPGt_varchar.
Referenced by ecpg_get_data(), ecpg_store_input(), and ECPGdump_a_simple().
int sqlda_dynamic_type | ( | Oid | type, |
enum COMPAT_MODE | compat | ||
) |
Definition at line 107 of file typename.c.
References compat, ECPGt_char, ECPGt_date, ECPGt_decimal, ECPGt_double, ECPGt_float, ECPGt_int, ECPGt_interval, ECPGt_long, ECPGt_long_long, ECPGt_numeric, ECPGt_short, ECPGt_timestamp, INFORMIX_MODE, and type.
Referenced by ecpg_build_compat_sqlda(), ecpg_build_native_sqlda(), and sqlda_common_total_size().