diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-06-10 07:49:23 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-06-10 07:49:23 +0000 |
commit | 0a7cb8553180d3525c37a324a0cc5fcc2a2e9d03 (patch) | |
tree | d6edba5f6224e38679619b1f09c66c518f7fc850 /src | |
parent | 346d7cd7fa5723d45b52b1e61c0cb0ba41a8ce99 (diff) | |
download | postgresql-0a7cb8553180d3525c37a324a0cc5fcc2a2e9d03.tar.gz postgresql-0a7cb8553180d3525c37a324a0cc5fcc2a2e9d03.zip |
Make TriggerFile variable static. It's not used outside xlog.c.
Fujii Masao
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/transam/xlog.c | 4 | ||||
-rw-r--r-- | src/include/access/xlog.h | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index ecd7df2107a..221d3b65e05 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.420 2010/06/10 07:00:27 heikki Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.421 2010/06/10 07:49:23 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -190,7 +190,7 @@ static TimestampTz recoveryLastXTime = 0; /* options taken from recovery.conf for XLOG streaming */ static bool StandbyMode = false; static char *PrimaryConnInfo = NULL; -char *TriggerFile = NULL; +static char *TriggerFile = NULL; /* if recoveryStopsHere returns true, it saves actual stop xid/time here */ static TransactionId recoveryStopXid; diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index 7dfe03b4be7..1a8f455dba6 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.111 2010/04/29 21:36:19 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.112 2010/06/10 07:49:23 heikki Exp $ */ #ifndef XLOG_H #define XLOG_H @@ -258,10 +258,6 @@ typedef struct CheckpointStatsData extern CheckpointStatsData CheckpointStats; -/* Read from recovery.conf, in startup process */ -extern char *TriggerFile; - - extern XLogRecPtr XLogInsert(RmgrId rmid, uint8 info, XLogRecData *rdata); extern void XLogFlush(XLogRecPtr RecPtr); extern void XLogBackgroundFlush(void); |