@@ -494,7 +494,7 @@ pgoutput_rollback_prepared_txn(LogicalDecodingContext *ctx,
494
494
*/
495
495
static void
496
496
maybe_send_schema (LogicalDecodingContext * ctx ,
497
- ReorderBufferTXN * txn , ReorderBufferChange * change ,
497
+ ReorderBufferChange * change ,
498
498
Relation relation , RelationSyncEntry * relentry )
499
499
{
500
500
bool schema_sent ;
@@ -671,7 +671,7 @@ pgoutput_change(LogicalDecodingContext *ctx, ReorderBufferTXN *txn,
671
671
/* Avoid leaking memory by using and resetting our own context */
672
672
old = MemoryContextSwitchTo (data -> context );
673
673
674
- maybe_send_schema (ctx , txn , change , relation , relentry );
674
+ maybe_send_schema (ctx , change , relation , relentry );
675
675
676
676
/* Send the data */
677
677
switch (change -> action )
@@ -808,7 +808,7 @@ pgoutput_truncate(LogicalDecodingContext *ctx, ReorderBufferTXN *txn,
808
808
continue ;
809
809
810
810
relids [nrelids ++ ] = relid ;
811
- maybe_send_schema (ctx , txn , change , relation , relentry );
811
+ maybe_send_schema (ctx , change , relation , relentry );
812
812
}
813
813
814
814
if (nrelids > 0 )
0 commit comments