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
a13421c9
Commit
a13421c9
authored
Aug 08, 2020
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some const decorations
parent
7259736a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/backend/replication/logical/logical.c
src/backend/replication/logical/logical.c
+3
-3
src/include/replication/logical.h
src/include/replication/logical.h
+1
-1
No files found.
src/backend/replication/logical/logical.c
View file @
a13421c9
...
...
@@ -82,7 +82,7 @@ static void stream_message_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *tx
static
void
stream_truncate_cb_wrapper
(
ReorderBuffer
*
cache
,
ReorderBufferTXN
*
txn
,
int
nrelations
,
Relation
relations
[],
ReorderBufferChange
*
change
);
static
void
LoadOutputPlugin
(
OutputPluginCallbacks
*
callbacks
,
char
*
plugin
);
static
void
LoadOutputPlugin
(
OutputPluginCallbacks
*
callbacks
,
c
onst
c
har
*
plugin
);
/*
* Make sure the current settings & environment are capable of doing logical
...
...
@@ -277,7 +277,7 @@ StartupDecodingContext(List *output_plugin_options,
* startup function.
*/
LogicalDecodingContext
*
CreateInitDecodingContext
(
char
*
plugin
,
CreateInitDecodingContext
(
c
onst
c
har
*
plugin
,
List
*
output_plugin_options
,
bool
need_full_snapshot
,
XLogRecPtr
restart_lsn
,
...
...
@@ -612,7 +612,7 @@ OutputPluginUpdateProgress(struct LogicalDecodingContext *ctx)
* that it provides the required callbacks.
*/
static
void
LoadOutputPlugin
(
OutputPluginCallbacks
*
callbacks
,
char
*
plugin
)
LoadOutputPlugin
(
OutputPluginCallbacks
*
callbacks
,
c
onst
c
har
*
plugin
)
{
LogicalOutputPluginInit
plugin_init
;
...
...
src/include/replication/logical.h
View file @
a13421c9
...
...
@@ -96,7 +96,7 @@ typedef struct LogicalDecodingContext
extern
void
CheckLogicalDecodingRequirements
(
void
);
extern
LogicalDecodingContext
*
CreateInitDecodingContext
(
char
*
plugin
,
extern
LogicalDecodingContext
*
CreateInitDecodingContext
(
c
onst
c
har
*
plugin
,
List
*
output_plugin_options
,
bool
need_full_snapshot
,
XLogRecPtr
restart_lsn
,
...
...
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