Skip to content

Commit 47a09ed

Browse files
committed
PGDLLIMPORT-ize the remaining variables needed by walreceiver.
1 parent 08f8d47 commit 47a09ed

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/include/access/xlog.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.96 2010/01/15 09:19:06 heikki Exp $
9+
* $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.97 2010/01/16 00:04:41 tgl Exp $
1010
*/
1111
#ifndef XLOG_H
1212
#define XLOG_H
@@ -132,7 +132,7 @@ typedef struct XLogRecData
132132
struct XLogRecData *next; /* next struct in chain, or NULL */
133133
} XLogRecData;
134134

135-
extern TimeLineID ThisTimeLineID; /* current TLI */
135+
extern PGDLLIMPORT TimeLineID ThisTimeLineID; /* current TLI */
136136

137137
/*
138138
* Prior to 8.4, all activity during recovery was carried out by Startup

src/include/libpq/pqsignal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/libpq/pqsignal.h,v 1.37 2010/01/02 16:58:04 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/libpq/pqsignal.h,v 1.38 2010/01/16 00:04:41 tgl Exp $
1111
*
1212
* NOTES
1313
* This shouldn't be in libpq, but the monitor and some other
@@ -27,7 +27,7 @@ extern sigset_t UnBlockSig,
2727

2828
#define PG_SETMASK(mask) sigprocmask(SIG_SETMASK, mask, NULL)
2929
#else /* not HAVE_SIGPROCMASK */
30-
extern int UnBlockSig,
30+
extern PGDLLIMPORT int UnBlockSig,
3131
BlockSig,
3232
StartupBlockSig;
3333

src/include/replication/walreceiver.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group
77
*
8-
* $PostgreSQL: pgsql/src/include/replication/walreceiver.h,v 1.1 2010/01/15 09:19:09 heikki Exp $
8+
* $PostgreSQL: pgsql/src/include/replication/walreceiver.h,v 1.2 2010/01/16 00:04:41 tgl Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -58,7 +58,7 @@ typedef struct
5858
slock_t mutex; /* locks shared variables shown above */
5959
} WalRcvData;
6060

61-
extern WalRcvData *WalRcv;
61+
extern PGDLLIMPORT WalRcvData *WalRcv;
6262

6363
extern Size WalRcvShmemSize(void);
6464
extern void WalRcvShmemInit(void);

src/include/storage/ipc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $PostgreSQL: pgsql/src/include/storage/ipc.h,v 1.79 2010/01/02 16:58:08 momjian Exp $
14+
* $PostgreSQL: pgsql/src/include/storage/ipc.h,v 1.80 2010/01/16 00:04:41 tgl Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -62,7 +62,7 @@ typedef void (*shmem_startup_hook_type) (void);
6262

6363

6464
/* ipc.c */
65-
extern bool proc_exit_inprogress;
65+
extern PGDLLIMPORT bool proc_exit_inprogress;
6666

6767
extern void proc_exit(int code);
6868
extern void shmem_exit(int code);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy