*/
static void
maybe_send_schema(LogicalDecodingContext *ctx,
- ReorderBufferTXN *txn, ReorderBufferChange *change,
+ ReorderBufferChange *change,
Relation relation, RelationSyncEntry *relentry)
{
bool schema_sent;
/* Avoid leaking memory by using and resetting our own context */
old = MemoryContextSwitchTo(data->context);
- maybe_send_schema(ctx, txn, change, relation, relentry);
+ maybe_send_schema(ctx, change, relation, relentry);
/* Send the data */
switch (change->action)
continue;
relids[nrelids++] = relid;
- maybe_send_schema(ctx, txn, change, relation, relentry);
+ maybe_send_schema(ctx, change, relation, relentry);
}
if (nrelids > 0)