diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-05-31 20:58:09 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-05-31 20:58:09 +0000 |
commit | 8f165ee13b11baf17b91d858c535419c33a755d6 (patch) | |
tree | 24edff7fbb527e614b27305af7f5f44539f696f8 /src/tutorial/funcs.c | |
parent | c269f0f1e2c760dde7a2c95ab09f913fa2aef1c4 (diff) | |
download | postgresql-8f165ee13b11baf17b91d858c535419c33a755d6.tar.gz postgresql-8f165ee13b11baf17b91d858c535419c33a755d6.zip |
Make PG_MODULE_MAGIC required in shared libraries that are loaded into
the server. Per discussion, there seems no point in a waiting period
before making this required.
Diffstat (limited to 'src/tutorial/funcs.c')
-rw-r--r-- | src/tutorial/funcs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tutorial/funcs.c b/src/tutorial/funcs.c index 0ca31ac19c9..2ac798f81b6 100644 --- a/src/tutorial/funcs.c +++ b/src/tutorial/funcs.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/tutorial/funcs.c,v 1.14 2006/03/11 04:38:42 momjian Exp $ */ +/* $PostgreSQL: pgsql/src/tutorial/funcs.c,v 1.15 2006/05/31 20:58:09 tgl Exp $ */ /****************************************************************************** These are user-defined functions that can be bound to a Postgres backend @@ -16,6 +16,8 @@ #include "executor/executor.h" /* for GetAttributeByName() */ #include "utils/geo_decls.h" /* for point type */ +PG_MODULE_MAGIC; + /* These prototypes just prevent possible warnings from gcc. */ |