1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +03:00

PGDLLIMPORT-ize the remaining variables needed by walreceiver.

This commit is contained in:
Tom Lane 2010-01-16 00:04:41 +00:00
parent 08f8d478eb
commit 47a09eda89
4 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.96 2010/01/15 09:19:06 heikki Exp $ * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.97 2010/01/16 00:04:41 tgl Exp $
*/ */
#ifndef XLOG_H #ifndef XLOG_H
#define XLOG_H #define XLOG_H
@ -132,7 +132,7 @@ typedef struct XLogRecData
struct XLogRecData *next; /* next struct in chain, or NULL */ struct XLogRecData *next; /* next struct in chain, or NULL */
} XLogRecData; } XLogRecData;
extern TimeLineID ThisTimeLineID; /* current TLI */ extern PGDLLIMPORT TimeLineID ThisTimeLineID; /* current TLI */
/* /*
* Prior to 8.4, all activity during recovery was carried out by Startup * Prior to 8.4, all activity during recovery was carried out by Startup

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/libpq/pqsignal.h,v 1.37 2010/01/02 16:58:04 momjian Exp $ * $PostgreSQL: pgsql/src/include/libpq/pqsignal.h,v 1.38 2010/01/16 00:04:41 tgl Exp $
* *
* NOTES * NOTES
* This shouldn't be in libpq, but the monitor and some other * This shouldn't be in libpq, but the monitor and some other
@ -27,7 +27,7 @@ extern sigset_t UnBlockSig,
#define PG_SETMASK(mask) sigprocmask(SIG_SETMASK, mask, NULL) #define PG_SETMASK(mask) sigprocmask(SIG_SETMASK, mask, NULL)
#else /* not HAVE_SIGPROCMASK */ #else /* not HAVE_SIGPROCMASK */
extern int UnBlockSig, extern PGDLLIMPORT int UnBlockSig,
BlockSig, BlockSig,
StartupBlockSig; StartupBlockSig;

View File

@ -5,7 +5,7 @@
* *
* Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group * Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group
* *
* $PostgreSQL: pgsql/src/include/replication/walreceiver.h,v 1.1 2010/01/15 09:19:09 heikki Exp $ * $PostgreSQL: pgsql/src/include/replication/walreceiver.h,v 1.2 2010/01/16 00:04:41 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -58,7 +58,7 @@ typedef struct
slock_t mutex; /* locks shared variables shown above */ slock_t mutex; /* locks shared variables shown above */
} WalRcvData; } WalRcvData;
extern WalRcvData *WalRcv; extern PGDLLIMPORT WalRcvData *WalRcv;
extern Size WalRcvShmemSize(void); extern Size WalRcvShmemSize(void);
extern void WalRcvShmemInit(void); extern void WalRcvShmemInit(void);

View File

@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/storage/ipc.h,v 1.79 2010/01/02 16:58:08 momjian Exp $ * $PostgreSQL: pgsql/src/include/storage/ipc.h,v 1.80 2010/01/16 00:04:41 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -62,7 +62,7 @@ typedef void (*shmem_startup_hook_type) (void);
/* ipc.c */ /* ipc.c */
extern bool proc_exit_inprogress; extern PGDLLIMPORT bool proc_exit_inprogress;
extern void proc_exit(int code); extern void proc_exit(int code);
extern void shmem_exit(int code); extern void shmem_exit(int code);