aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpython.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-05-30 22:12:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-05-30 22:12:16 +0000
commita0ffab351e2dca12200e95c45f6edf5ddebe78b0 (patch)
tree905fee345f116de536f72d8ff8507d093646d717 /src/pl/plpython/plpython.c
parente95703eac3199a389cfeace07545ee10430193a8 (diff)
downloadpostgresql-a0ffab351e2dca12200e95c45f6edf5ddebe78b0.tar.gz
postgresql-a0ffab351e2dca12200e95c45f6edf5ddebe78b0.zip
Magic blocks don't do us any good unless we use 'em ... so install one
in every shared library.
Diffstat (limited to 'src/pl/plpython/plpython.c')
-rw-r--r--src/pl/plpython/plpython.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c
index 7ac3f89c146..1aedc0c7625 100644
--- a/src/pl/plpython/plpython.c
+++ b/src/pl/plpython/plpython.c
@@ -1,7 +1,7 @@
/**********************************************************************
* plpython.c - python as a procedural language for PostgreSQL
*
- * $PostgreSQL: pgsql/src/pl/plpython/plpython.c,v 1.80 2006/05/26 19:23:09 adunstan Exp $
+ * $PostgreSQL: pgsql/src/pl/plpython/plpython.c,v 1.81 2006/05/30 22:12:16 tgl Exp $
*
*********************************************************************
*/
@@ -32,6 +32,8 @@
#include <compile.h>
#include <eval.h>
+PG_MODULE_MAGIC;
+
/* convert Postgresql Datum or tuple into a PyObject.
* input to Python. Tuples are converted to dictionary
* objects.