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
893d6f8a
Commit
893d6f8a
authored
Mar 16, 2019
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid casting away a const
parent
8e93a516
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+1
-1
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+1
-1
src/include/access/xlog.h
src/include/access/xlog.h
+1
-1
No files found.
src/backend/access/transam/xlog.c
View file @
893d6f8a
...
@@ -269,7 +269,7 @@ bool recoveryTargetInclusive = true;
...
@@ -269,7 +269,7 @@ bool recoveryTargetInclusive = true;
int
recoveryTargetAction
=
RECOVERY_TARGET_ACTION_PAUSE
;
int
recoveryTargetAction
=
RECOVERY_TARGET_ACTION_PAUSE
;
TransactionId
recoveryTargetXid
;
TransactionId
recoveryTargetXid
;
TimestampTz
recoveryTargetTime
;
TimestampTz
recoveryTargetTime
;
c
har
*
recoveryTargetName
;
c
onst
char
*
recoveryTargetName
;
XLogRecPtr
recoveryTargetLSN
;
XLogRecPtr
recoveryTargetLSN
;
int
recovery_min_apply_delay
=
0
;
int
recovery_min_apply_delay
=
0
;
TimestampTz
recoveryDelayUntilTime
;
TimestampTz
recoveryDelayUntilTime
;
...
...
src/backend/utils/misc/guc.c
View file @
893d6f8a
...
@@ -11434,7 +11434,7 @@ assign_recovery_target_name(const char *newval, void *extra)
...
@@ -11434,7 +11434,7 @@ assign_recovery_target_name(const char *newval, void *extra)
if
(
newval
&&
strcmp
(
newval
,
""
)
!=
0
)
if
(
newval
&&
strcmp
(
newval
,
""
)
!=
0
)
{
{
recoveryTarget
=
RECOVERY_TARGET_NAME
;
recoveryTarget
=
RECOVERY_TARGET_NAME
;
recoveryTargetName
=
(
char
*
)
newval
;
recoveryTargetName
=
newval
;
}
}
else
else
recoveryTarget
=
RECOVERY_TARGET_UNSET
;
recoveryTarget
=
RECOVERY_TARGET_UNSET
;
...
...
src/include/access/xlog.h
View file @
893d6f8a
...
@@ -131,7 +131,7 @@ extern char *PrimarySlotName;
...
@@ -131,7 +131,7 @@ extern char *PrimarySlotName;
/* indirectly set via GUC system */
/* indirectly set via GUC system */
extern
TransactionId
recoveryTargetXid
;
extern
TransactionId
recoveryTargetXid
;
extern
TimestampTz
recoveryTargetTime
;
extern
TimestampTz
recoveryTargetTime
;
extern
char
*
recoveryTargetName
;
extern
c
onst
c
har
*
recoveryTargetName
;
extern
XLogRecPtr
recoveryTargetLSN
;
extern
XLogRecPtr
recoveryTargetLSN
;
extern
RecoveryTargetType
recoveryTarget
;
extern
RecoveryTargetType
recoveryTarget
;
extern
char
*
PromoteTriggerFile
;
extern
char
*
PromoteTriggerFile
;
...
...
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