|
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 | |
| PG_MODULE_MAGIC_EXT (.name="ltree_plpython",.version=PG_VERSION) | |
| void | _PG_init (void) |
| PG_FUNCTION_INFO_V1 (ltree_to_plpython) | |
| Datum | ltree_to_plpython (PG_FUNCTION_ARGS) |
Variables | |
| static PLyUnicode_FromStringAndSize_t | PLyUnicode_FromStringAndSize_p |
| #define PLyUnicode_FromStringAndSize PLyUnicode_FromStringAndSize_p |
Definition at line 32 of file ltree_plpython.c.
| typedef PyObject *(* PLyUnicode_FromStringAndSize_t) (const char *s, Py_ssize_t size) |
Definition at line 13 of file ltree_plpython.c.
| void _PG_init | ( | void | ) |
Definition at line 21 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 38 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_EXT | ( | . | name = "ltree_plpython", |
| . | version = PG_VERSION |
||
| ) |
|
static |
Definition at line 14 of file ltree_plpython.c.
Referenced by _PG_init().