aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs_new.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/funcs_new.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/funcs_new.c')
-rw-r--r--src/tutorial/funcs_new.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tutorial/funcs_new.c b/src/tutorial/funcs_new.c
index 9a490340637..f5507a82847 100644
--- a/src/tutorial/funcs_new.c
+++ b/src/tutorial/funcs_new.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/tutorial/funcs_new.c,v 1.7 2006/03/11 04:38:42 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/tutorial/funcs_new.c,v 1.8 2006/05/30 22:12:16 tgl Exp $ */
/******************************************************************************
These are user-defined functions that can be bound to a Postgres backend
@@ -18,6 +18,8 @@
#include "utils/geo_decls.h" /* for point type */
+PG_MODULE_MAGIC;
+
/* These prototypes just prevent possible warnings from gcc. */
Datum add_one(PG_FUNCTION_ARGS);