|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Typedefs | |
| typedef HStore *(* | hstoreUpgrade_t) (Datum orig) |
| typedef int(* | hstoreUniquePairs_t) (Pairs *a, int32 l, int32 *buflen) |
| typedef HStore *(* | hstorePairs_t) (Pairs *pairs, int32 pcount, int32 buflen) |
| typedef size_t(* | hstoreCheckKeyLen_t) (size_t len) |
| typedef size_t(* | hstoreCheckValLen_t) (size_t len) |
Functions | |
| PG_MODULE_MAGIC_EXT (.name="hstore_plperl",.version=PG_VERSION) | |
| void | _PG_init (void) |
| PG_FUNCTION_INFO_V1 (hstore_to_plperl) | |
| Datum | hstore_to_plperl (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (plperl_to_hstore) | |
| Datum | plperl_to_hstore (PG_FUNCTION_ARGS) |
| #define hstoreCheckKeyLen hstoreCheckKeyLen_p |
Definition at line 60 of file hstore_plperl.c.
| #define hstoreCheckValLen hstoreCheckValLen_p |
Definition at line 61 of file hstore_plperl.c.
| #define hstorePairs hstorePairs_p |
Definition at line 59 of file hstore_plperl.c.
| #define hstoreUniquePairs hstoreUniquePairs_p |
Definition at line 58 of file hstore_plperl.c.
| #define hstoreUpgrade hstoreUpgrade_p |
Definition at line 57 of file hstore_plperl.c.
Definition at line 17 of file hstore_plperl.c.
Definition at line 15 of file hstore_plperl.c.
Definition at line 36 of file hstore_plperl.c.
References fb(), hstoreCheckKeyLen_p, hstoreCheckValLen_p, hstorePairs_p, hstoreUniquePairs_p, hstoreUpgrade_p, and load_external_function().
| Datum hstore_to_plperl | ( | PG_FUNCTION_ARGS | ) |
Definition at line 67 of file hstore_plperl.c.
References ARRPTR, cstr2sv(), dTHX, fb(), HS_COUNT, HSTORE_KEY, HSTORE_KEYLEN, HSTORE_VAL, HSTORE_VALISNULL, HSTORE_VALLEN, i, PG_GETARG_HSTORE_P, pnstrdup(), PointerGetDatum(), STRPTR, and value.
| PG_FUNCTION_INFO_V1 | ( | hstore_to_plperl | ) |
| PG_FUNCTION_INFO_V1 | ( | plperl_to_hstore | ) |
| PG_MODULE_MAGIC_EXT | ( | . | name = "hstore_plperl", |
| . | version = PG_VERSION |
||
| ) |
| Datum plperl_to_hstore | ( | PG_FUNCTION_ARGS | ) |
Definition at line 100 of file hstore_plperl.c.
References dTHX, ereport, errcode(), errmsg(), ERROR, fb(), hstoreCheckKeyLen, hstoreCheckValLen, hstorePairs, hstoreUniquePairs, i, Pairs::isnull, Pairs::key, Pairs::keylen, Pairs::needfree, palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, pstrdup(), sv2cstr(), Pairs::val, val, Pairs::vallen, and value.
| StaticAssertVariableIsOfType& hstoreCheckKeyLen |
Definition at line 28 of file hstore_plperl.c.
|
static |
Definition at line 20 of file hstore_plperl.c.
Referenced by _PG_init().
| StaticAssertVariableIsOfType& hstoreCheckValLen |
Definition at line 29 of file hstore_plperl.c.
|
static |
Definition at line 22 of file hstore_plperl.c.
Referenced by _PG_init().
| StaticAssertVariableIsOfType& hstorePairs |
Definition at line 27 of file hstore_plperl.c.
|
static |
Definition at line 18 of file hstore_plperl.c.
Referenced by _PG_init().
| StaticAssertVariableIsOfType& hstoreUniquePairs |
Definition at line 26 of file hstore_plperl.c.
|
static |
Definition at line 16 of file hstore_plperl.c.
Referenced by _PG_init().
| StaticAssertVariableIsOfType& hstoreUpgrade |
Definition at line 25 of file hstore_plperl.c.
|
static |
Definition at line 14 of file hstore_plperl.c.
Referenced by _PG_init().