PostgreSQL Source Code
git master
|
Go to the source code of this file.
Macros | |
#define | PLyUnicode_FromStringAndSize PLyUnicode_FromStringAndSize_p |
Typedefs | |
typedef PyObject *(* | PLyUnicode_FromStringAndSize_t) (const char *s, Py_ssize_t size) |
Functions | |
void | _PG_init (void) |
PG_FUNCTION_INFO_V1 (ltree_to_plpython) | |
Datum | ltree_to_plpython (PG_FUNCTION_ARGS) |
Variables | |
PG_MODULE_MAGIC | |
static PLyUnicode_FromStringAndSize_t | PLyUnicode_FromStringAndSize_p |
#define PLyUnicode_FromStringAndSize PLyUnicode_FromStringAndSize_p |
Definition at line 29 of file ltree_plpython.c.
typedef PyObject*(* PLyUnicode_FromStringAndSize_t) (const char *s, Py_ssize_t size) |
Definition at line 10 of file ltree_plpython.c.
void _PG_init | ( | void | ) |
Definition at line 18 of file ltree_plpython.c.
References AssertVariableIsOfType, load_external_function(), PLyUnicode_FromStringAndSize, and PLyUnicode_FromStringAndSize_p.
Datum ltree_to_plpython | ( | PG_FUNCTION_ARGS | ) |
Definition at line 35 of file ltree_plpython.c.
References ereport, errcode(), errmsg(), ERROR, i, ltree_level::len, LEVEL_NEXT, sort-test::list, LTREE_FIRST, ltree_level::name, ltree::numlevel, PG_FREE_IF_COPY, PG_GETARG_LTREE_P, PLyUnicode_FromStringAndSize, and PointerGetDatum().
PG_FUNCTION_INFO_V1 | ( | ltree_to_plpython | ) |
PG_MODULE_MAGIC |
Definition at line 7 of file ltree_plpython.c.
|
static |
Definition at line 11 of file ltree_plpython.c.
Referenced by _PG_init().