mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
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.
This commit is contained in:
@@ -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.
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
Reference in New Issue
Block a user