diff options
Diffstat (limited to 'contrib/ltree_plpython/ltree_plpython.c')
-rw-r--r-- | contrib/ltree_plpython/ltree_plpython.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/ltree_plpython/ltree_plpython.c b/contrib/ltree_plpython/ltree_plpython.c index ac159ea3141..ba5926b8be6 100644 --- a/contrib/ltree_plpython/ltree_plpython.c +++ b/contrib/ltree_plpython/ltree_plpython.c @@ -4,7 +4,10 @@ #include "ltree/ltree.h" #include "plpython.h" -PG_MODULE_MAGIC; +PG_MODULE_MAGIC_EXT( + .name = "ltree_plpython", + .version = PG_VERSION +); /* Linkage to functions in plpython module */ typedef PyObject *(*PLyUnicode_FromStringAndSize_t) (const char *s, Py_ssize_t size); |