Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
0a7cb855
Commit
0a7cb855
authored
Jun 10, 2010
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make TriggerFile variable static. It's not used outside xlog.c.
Fujii Masao
parent
346d7cd7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+2
-2
src/include/access/xlog.h
src/include/access/xlog.h
+1
-5
No files found.
src/backend/access/transam/xlog.c
View file @
0a7cb855
...
...
@@ -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.42
0 2010/06/10 07:00:27
heikki Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.42
1 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
;
...
...
src/include/access/xlog.h
View file @
0a7cb855
...
...
@@ -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.11
1 2010/04/29 21:36:19 tgl
Exp $
* $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.11
2 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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment