diff options
Diffstat (limited to 'src/tutorial')
-rw-r--r-- | src/tutorial/complex.c | 2 | ||||
-rw-r--r-- | src/tutorial/funcs_new.c | 4 |
2 files changed, 5 insertions, 1 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; 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); |