On Win32, ShmemVariableCache needs PGDLLIMPORT for linkage of pg_migrator.so. Patch attached and applied.
Tested by Hiroshi Saito. -- Bruce Momjian <br...@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
Index: src/include/access/transam.h =================================================================== RCS file: /cvsroot/pgsql/src/include/access/transam.h,v retrieving revision 1.67 diff -c -c -r1.67 transam.h *** src/include/access/transam.h 1 Jan 2009 17:23:56 -0000 1.67 --- src/include/access/transam.h 8 May 2009 02:56:27 -0000 *************** *** 130,136 **** */ /* in transam/varsup.c */ ! extern VariableCache ShmemVariableCache; /* --- 130,136 ---- */ /* in transam/varsup.c */ ! extern PGDLLIMPORT VariableCache ShmemVariableCache; /*
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers