summaryrefslogtreecommitdiff
path: root/src/include/fmgr.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-09-03 22:34:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-09-03 22:34:50 +0000
commitba9f37f066cffbc327936fe35d08778c23be6e16 (patch)
tree47308752018079bb809dcc5f1b3a284df6950f4b /src/include/fmgr.h
parentfbb2b69c8f478c2910a32e25d80eaf67d0dd3cbf (diff)
downloadpostgresql-ba9f37f066cffbc327936fe35d08778c23be6e16.tar.gz
If a loadable module has wrong values in its magic block, spell out
exactly what they are in the complaint message. Marko Kreen, some editorialization by me.
Diffstat (limited to 'src/include/fmgr.h')
-rw-r--r--src/include/fmgr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/fmgr.h b/src/include/fmgr.h
index f0cc26f531..c348086fbc 100644
--- a/src/include/fmgr.h
+++ b/src/include/fmgr.h
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/fmgr.h,v 1.59 2008/05/15 00:17:41 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/fmgr.h,v 1.60 2008/09/03 22:34:50 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -357,6 +357,9 @@ extern int no_such_variable
*
* Note: we compare magic blocks with memcmp(), so there had better not be
* any alignment pad bytes in them.
+ *
+ * Note: when changing the contents of magic blocks, be sure to adjust the
+ * incompatible_module_error() function in dfmgr.c.
*-------------------------------------------------------------------------
*/