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

Commit0a7cb85

Browse files
committed
Make TriggerFile variable static. It's not used outside xlog.c.
Fujii Masao
1 parent346d7cd commit0a7cb85

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

‎src/backend/access/transam/xlog.c

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/backend/access/transam/xlog.c,v 1.420 2010/06/10 07:00:27 heikki Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.421 2010/06/10 07:49:23 heikki Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -190,7 +190,7 @@ static TimestampTz recoveryLastXTime = 0;
190190
/* options taken from recovery.conf for XLOG streaming */
191191
staticboolStandbyMode= false;
192192
staticchar*PrimaryConnInfo=NULL;
193-
char*TriggerFile=NULL;
193+
staticchar*TriggerFile=NULL;
194194

195195
/* if recoveryStopsHere returns true, it saves actual stop xid/time here */
196196
staticTransactionIdrecoveryStopXid;

‎src/include/access/xlog.h

Lines changed: 1 addition & 5 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.111 2010/04/29 21:36:19 tgl Exp $
9+
* $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.112 2010/06/10 07:49:23 heikki Exp $
1010
*/
1111
#ifndefXLOG_H
1212
#defineXLOG_H
@@ -258,10 +258,6 @@ typedef struct CheckpointStatsData
258258

259259
externCheckpointStatsDataCheckpointStats;
260260

261-
/* Read from recovery.conf, in startup process */
262-
externchar*TriggerFile;
263-
264-
265261
externXLogRecPtrXLogInsert(RmgrIdrmid,uint8info,XLogRecData*rdata);
266262
externvoidXLogFlush(XLogRecPtrRecPtr);
267263
externvoidXLogBackgroundFlush(void);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp