Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit47a09ed

Browse files
committed
PGDLLIMPORT-ize the remaining variables needed by walreceiver.
1 parent08f8d47 commit47a09ed

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
#ifndefXLOG_H
1212
#defineXLOG_H
@@ -132,7 +132,7 @@ typedef struct XLogRecData
132132
structXLogRecData*next;/* next struct in chain, or NULL */
133133
}XLogRecData;
134134

135-
externTimeLineIDThisTimeLineID;/* current TLI */
135+
externPGDLLIMPORTTimeLineIDThisTimeLineID;/* 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
#definePG_SETMASK(mask)sigprocmask(SIG_SETMASK, mask, NULL)
2929
#else/* not HAVE_SIGPROCMASK */
30-
externintUnBlockSig,
30+
externPGDLLIMPORTintUnBlockSig,
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_tmutex;/* locks shared variables shown above */
5959
}WalRcvData;
6060

61-
externWalRcvData*WalRcv;
61+
externPGDLLIMPORTWalRcvData*WalRcv;
6262

6363
externSizeWalRcvShmemSize(void);
6464
externvoidWalRcvShmemInit(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-
externboolproc_exit_inprogress;
65+
externPGDLLIMPORTboolproc_exit_inprogress;
6666

6767
externvoidproc_exit(intcode);
6868
externvoidshmem_exit(intcode);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp