PostgreSQL Source Code: src/interfaces/ecpg/pgtypeslib/pgtypeslib_extern.h Source File (original) (raw)
1
2
3#ifndef _ECPG_PGTYPESLIB_EXTERN_H
4#define _ECPG_PGTYPESLIB_EXTERN_H
5
7
8
9
10#define PGTYPES_TYPE_NOTHING 0
11#define PGTYPES_TYPE_STRING_MALLOCED 1
12#define PGTYPES_TYPE_STRING_CONSTANT 2
13#define PGTYPES_TYPE_CHAR 3
14#define PGTYPES_TYPE_DOUBLE_NF 4
15#define PGTYPES_TYPE_INT64 5
16#define PGTYPES_TYPE_UINT 6
17#define PGTYPES_TYPE_UINT_2_LZ 7
18#define PGTYPES_TYPE_UINT_2_LS 8
20#define PGTYPES_TYPE_UINT_3_LZ 9
21#define PGTYPES_TYPE_UINT_4_LZ 10
22#define PGTYPES_TYPE_UINT_LONG 11
24#define PGTYPES_FMT_NUM_MAX_DIGITS 40
34};
35
37 int replace_type, char **output,
38 int *pstr_len);
39
42
43#endif
char * pgtypes_strdup(const char *str)
int pgtypes_fmt_replace(union un_fmt_comb replace_val, int replace_type, char **output, int *pstr_len)
char * pgtypes_alloc(long size)
unsigned long int luint_val