@@ -82,7 +82,7 @@ static void stream_message_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *tx
82
82
static void stream_truncate_cb_wrapper (ReorderBuffer * cache ,ReorderBufferTXN * txn ,
83
83
int nrelations ,Relation relations [],ReorderBufferChange * change );
84
84
85
- static void LoadOutputPlugin (OutputPluginCallbacks * callbacks ,char * plugin );
85
+ static void LoadOutputPlugin (OutputPluginCallbacks * callbacks ,const char * plugin );
86
86
87
87
/*
88
88
* Make sure the current settings & environment are capable of doing logical
@@ -277,7 +277,7 @@ StartupDecodingContext(List *output_plugin_options,
277
277
* startup function.
278
278
*/
279
279
LogicalDecodingContext *
280
- CreateInitDecodingContext (char * plugin ,
280
+ CreateInitDecodingContext (const char * plugin ,
281
281
List * output_plugin_options ,
282
282
bool need_full_snapshot ,
283
283
XLogRecPtr restart_lsn ,
@@ -612,7 +612,7 @@ OutputPluginUpdateProgress(struct LogicalDecodingContext *ctx)
612
612
* that it provides the required callbacks.
613
613
*/
614
614
static void
615
- LoadOutputPlugin (OutputPluginCallbacks * callbacks ,char * plugin )
615
+ LoadOutputPlugin (OutputPluginCallbacks * callbacks ,const char * plugin )
616
616
{
617
617
LogicalOutputPluginInit plugin_init ;
618
618