53#define hstoreUpgrade hstoreUpgrade_p
54#define hstoreUniquePairs hstoreUniquePairs_p
55#define hstorePairs hstorePairs_p
56#define hstoreCheckKeyLen hstoreCheckKeyLen_p
57#define hstoreCheckValLen hstoreCheckValLen_p
75 for (
i = 0;
i < count;
i++)
113 if (SvTYPE(in) != SVt_PVHV)
115 (
errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
116 errmsg(
"cannot transform non-hash Perl value to hstore")));
119 pcount = hv_iterinit(hv);
124 while ((he = hv_iternext(hv)))
127 SV *
value = HeVAL(he);
#define AssertVariableIsOfType(varname, typename)
void * load_external_function(const char *filename, const char *funcname, bool signalNotFound, void **filehandle)
int errcode(int sqlerrcode)
int errmsg(const char *fmt,...)
#define ereport(elevel,...)
#define PG_GETARG_POINTER(n)
#define PG_RETURN_POINTER(x)
#define HSTORE_KEY(arr_, str_, i_)
#define PG_GETARG_HSTORE_P(x)
#define HSTORE_VALISNULL(arr_, i_)
#define HSTORE_VALLEN(arr_, i_)
#define HSTORE_KEYLEN(arr_, i_)
#define HSTORE_VAL(arr_, str_, i_)
int(* hstoreUniquePairs_t)(Pairs *a, int32 l, int32 *buflen)
static hstoreUpgrade_t hstoreUpgrade_p
Datum hstore_to_plperl(PG_FUNCTION_ARGS)
static hstoreCheckKeyLen_t hstoreCheckKeyLen_p
HStore *(* hstoreUpgrade_t)(Datum orig)
#define hstoreCheckKeyLen
#define hstoreUniquePairs
PG_FUNCTION_INFO_V1(hstore_to_plperl)
static hstorePairs_t hstorePairs_p
static hstoreCheckValLen_t hstoreCheckValLen_p
static hstoreUniquePairs_t hstoreUniquePairs_p
size_t(* hstoreCheckValLen_t)(size_t len)
#define hstoreCheckValLen
HStore *(* hstorePairs_t)(Pairs *pairs, int32 pcount, int32 buflen)
size_t(* hstoreCheckKeyLen_t)(size_t len)
Datum plperl_to_hstore(PG_FUNCTION_ARGS)
char * pstrdup(const char *in)
char * pnstrdup(const char *in, Size len)
static char * sv2cstr(SV *sv)
static SV * cstr2sv(const char *str)
static Datum PointerGetDatum(const void *X)