19 #include "utils/fmgrprotos.h"
72 extern int oid_cmp(
const void *p1,
const void *
p2);
76 Oid collation,
bool *exact);
84 const char *leftop,
Oid leftoptype,
86 const char *rightop,
Oid rightoptype);
97 #define CStringGetTextDatum(s) PointerGetDatum(cstring_to_text(s))
98 #define TextDatumGetCString(d) text_to_cstring((text *) DatumGetPointer(d))
101 extern int xidComparator(
const void *arg1,
const void *arg2);
106 char *dst,
size_t size);
110 void *dst,
size_t size);
124 #define FORMAT_TYPE_TYPEMOD_GIVEN 0x01
125 #define FORMAT_TYPE_ALLOW_INVALID 0x02
126 #define FORMAT_TYPE_FORCE_QUALIFY 0x04
127 #define FORMAT_TYPE_INVALID_AS_NULL 0x08
int pg_inet_net_pton(int af, const char *src, void *dst, size_t size)
int64 pg_strtoint64_safe(const char *s, Node *escontext)
uint64 uint64in_subr(const char *s, char **endloc, const char *typname, Node *escontext)
char * format_type_be_qualified(Oid type_oid)
void clean_ipv6_addr(int addr_family, char *addr)
int xidComparator(const void *arg1, const void *arg2)
int64 pg_strtoint64(const char *s)
int32 type_maximum_size(Oid type_oid, int32 typemod)
const char * quote_identifier(const char *ident)
int bpchartruelen(char *s, int len)
Datum network_scan_last(Datum in)
PGDLLIMPORT bool quote_all_identifiers
int errdatatype(Oid datatypeOid)
int pg_ltoa(int32 value, char *a)
bool parse_bool(const char *value, bool *result)
char * format_type_extended(Oid type_oid, int32 typemod, bits16 flags)
char * quote_literal_cstr(const char *rawstr)
void generate_operator_clause(fmStringInfo buf, const char *leftop, Oid leftoptype, Oid opoid, const char *rightop, Oid rightoptype)
int32 pg_strtoint32_safe(const char *s, Node *escontext)
int namestrcmp(Name name, const char *str)
char * format_type_with_typemod(Oid type_oid, int32 typemod)
int pg_ulltoa_n(uint64 value, char *a)
int16 pg_strtoint16(const char *s)
char * text_to_cstring(const text *t)
int xidLogicalComparator(const void *arg1, const void *arg2)
int oid_cmp(const void *p1, const void *p2)
int errdomainconstraint(Oid datatypeOid, const char *conname)
char * quote_qualified_identifier(const char *qualifier, const char *ident)
uint64 hex_decode_safe(const char *src, size_t len, char *dst, Node *escontext)
void namestrcpy(Name name, const char *str)
text * cstring_to_text_with_len(const char *s, int len)
uint32 uint32in_subr(const char *s, char **endloc, const char *typname, Node *escontext)
double convert_network_to_scalar(Datum value, Oid typid, bool *failure)
uint64 hex_encode(const char *src, size_t len, char *dst)
void text_to_cstring_buffer(const text *src, char *dst, size_t dst_len)
char * pg_inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size)
char * format_type_be(Oid type_oid)
int pg_lltoa(int64 value, char *a)
char * regexp_fixed_prefix(text *text_re, bool case_insensitive, Oid collation, bool *exact)
Datum numeric_float8_no_overflow(PG_FUNCTION_ARGS)
text * cstring_to_text(const char *s)
int pg_itoa(int16 i, char *a)
int32 pg_strtoint32(const char *s)
char * pg_ultostr(char *str, uint32 value)
oidvector * buildoidvector(const Oid *oids, int n)
int2vector * buildint2vector(const int16 *int2s, int n)
char * pg_ultostr_zeropad(char *str, uint32 value, int32 minwidth)
void domain_check(Datum value, bool isnull, Oid domainType, void **extra, MemoryContext mcxt)
int16 pg_strtoint16_safe(const char *s, Node *escontext)
bool domain_check_safe(Datum value, bool isnull, Oid domainType, void **extra, MemoryContext mcxt, Node *escontext)
uint64 hex_decode(const char *src, size_t len, char *dst)
Datum network_scan_first(Datum in)
bool parse_bool_with_len(const char *value, size_t len, bool *result)
int pg_ultoa_n(uint32 value, char *a)
static void PGresult const char * p2
static pg_noinline void Size size