Patch needed for pg_migrator on Win32 - Mailing list pgsql-hackers

From Bruce Momjian
Subject Patch needed for pg_migrator on Win32
Date
Msg-id 200905080323.n483Nq402005@momjian.us
Whole thread Raw
List pgsql-hackers
On Win32, ShmemVariableCache needs PGDLLIMPORT for linkage of
pg_migrator.so.  Patch attached and applied.

Tested by Hiroshi Saito.

--
  Bruce Momjian  <bruce@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;


  /*

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: [Fwd: congratulations on 8.4 beta]
Next
From: Bruce Momjian
Date:
Subject: Re: Some 8.4 changes needed according to pg_migrator testing