aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.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/tutorial/complex.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/tutorial/complex.c')
-rw-r--r--src/tutorial/complex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tutorial/complex.c b/src/tutorial/complex.c
index d6fdc1eed97..5b7da346121 100644
--- a/src/tutorial/complex.c
+++ b/src/tutorial/complex.c
@@ -10,6 +10,8 @@
#include "libpq/pqformat.h" /* needed for send/recv functions */
+PG_MODULE_MAGIC;
+
typedef struct Complex
{
double x;