From ba9f37f066cffbc327936fe35d08778c23be6e16 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 3 Sep 2008 22:34:50 +0000 Subject: 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. --- src/include/fmgr.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/include/fmgr.h') 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. *------------------------------------------------------------------------- */ -- cgit v1.2.1