From 5bfc9a61199d95050f72d04b302a8fdf889d4a11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=81lvaro=20Herrera?= <alvherre@kurilemu.de>
Date: Fri, 27 Nov 2026 20:56:51 +0100
Subject: [PATCH v2] Introduce an output plugin callback to filter changes by
 filenode
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

REPACK (CONCURRENTLY) uses change_useless_for_repack() to skip
processing changes in relations other than the one being repacked.
However, this is called for all users of logical decoding, including
logical replication which has nothing to do with REPACK.  Replace that
with a new plugin-supplied callback that does the filtering without
blowing a hole in the output plugin abstraction.

Author: Antonin Houska <ah@cybertec.at>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://postgr.es/m/57140.1795542599@chrudos
---
 contrib/test_decoding/test_decoding.c       |  7 ++-
 doc/src/sgml/logicaldecoding.sgml           | 31 ++++++++++-
 src/backend/commands/repack_worker.c        | 56 ++-----------------
 src/backend/replication/logical/decode.c    | 47 ++++++++++++----
 src/backend/replication/logical/logical.c   | 32 +++++++++++
 src/backend/replication/pgoutput/pgoutput.c |  1 +
 src/backend/replication/pgrepack/pgrepack.c | 61 +++++++++++++++++++++
 src/include/commands/repack_internal.h      |  7 +++
 src/include/replication/decode.h            |  4 --
 src/include/replication/logical.h           |  2 +
 src/include/replication/output_plugin.h     |  7 +++
 11 files changed, 186 insertions(+), 69 deletions(-)

diff --git a/contrib/test_decoding/test_decoding.c b/contrib/test_decoding/test_decoding.c
index 0f6e05b3bef..6233c9fe5cf 100644
--- a/contrib/test_decoding/test_decoding.c
+++ b/contrib/test_decoding/test_decoding.c
@@ -136,14 +136,17 @@ _PG_output_plugin_init(OutputPluginCallbacks *cb)
 	cb->change_cb = pg_decode_change;
 	cb->truncate_cb = pg_decode_truncate;
 	cb->commit_cb = pg_decode_commit_txn;
-	cb->filter_by_origin_cb = pg_decode_filter;
-	cb->shutdown_cb = pg_decode_shutdown;
 	cb->message_cb = pg_decode_message;
+	cb->filter_by_origin_cb = pg_decode_filter;
+	cb->filter_by_rlocator_cb = NULL;
+	cb->shutdown_cb = pg_decode_shutdown;
+
 	cb->filter_prepare_cb = pg_decode_filter_prepare;
 	cb->begin_prepare_cb = pg_decode_begin_prepare_txn;
 	cb->prepare_cb = pg_decode_prepare_txn;
 	cb->commit_prepared_cb = pg_decode_commit_prepared_txn;
 	cb->rollback_prepared_cb = pg_decode_rollback_prepared_txn;
+
 	cb->stream_start_cb = pg_decode_stream_start;
 	cb->stream_stop_cb = pg_decode_stream_stop;
 	cb->stream_abort_cb = pg_decode_stream_abort;
diff --git a/doc/src/sgml/logicaldecoding.sgml b/doc/src/sgml/logicaldecoding.sgml
index d76881bd167..48a77ec5535 100644
--- a/doc/src/sgml/logicaldecoding.sgml
+++ b/doc/src/sgml/logicaldecoding.sgml
@@ -808,6 +808,7 @@ typedef struct OutputPluginCallbacks
     LogicalDecodeCommitCB commit_cb;
     LogicalDecodeMessageCB message_cb;
     LogicalDecodeFilterByOriginCB filter_by_origin_cb;
+    LogicalDecodeFilterByRelFileLocator filter_by_rlocator_cb;
     LogicalDecodeShutdownCB shutdown_cb;
     LogicalDecodeFilterPrepareCB filter_prepare_cb;
     LogicalDecodeBeginPrepareCB begin_prepare_cb;
@@ -830,7 +831,8 @@ typedef void (*LogicalOutputPluginInit) (struct OutputPluginCallbacks *cb);
      and <function>commit_cb</function> callbacks are required,
      while <function>startup_cb</function>, <function>truncate_cb</function>,
      <function>message_cb</function>, <function>filter_by_origin_cb</function>,
-     and <function>shutdown_cb</function> are optional.
+     <function>filter_by_rlocator_cb</function> and <function>shutdown_cb</function>
+     are optional.
      If <function>truncate_cb</function> is not set but a
      <command>TRUNCATE</command> is to be decoded, the action will be ignored.
     </para>
@@ -1119,6 +1121,33 @@ typedef bool (*LogicalDecodeFilterByOriginCB) (struct LogicalDecodingContext *ct
      </para>
      </sect3>
 
+     <sect3 id="logicaldecoding-output-plugin-filter-rlocator">
+     <title>Relation Locator Filter Callback</title>
+
+     <para>
+       The optional <function>filter_by_rlocator_cb</function> callback is
+       called to determine whether a data change performed in a table whose
+       locator (filenode) equals to <parameter>rlocator</parameter> is of
+       interest to the output plugin.
+<programlisting>
+typedef bool (*LogicalDecodeFilterByRelFileLocator) (struct LogicalDecodingContext *ctx,
+                                                     RelFileLocator rlocator);
+</programlisting>
+      The <parameter>ctx</parameter> parameter has the same contents as for
+      the other callbacks. No information but the file locator is available.
+      To signal that changes that refer to the corresponding relation are
+      irrelevant, return true, causing them to be filtered away; false
+      otherwise.
+      The other callbacks (including the <function>filter_by_origin_cb</function>)
+      will not be called for changes that have been filtered away.
+     </para>
+     <para>
+       This can be used by decoders that are interested in only one or a small
+       set of relations, such as the <command>REPACK</command> command with
+       the <literal>CONCURRENTLY</literal> option.
+     </para>
+     </sect3>
+
     <sect3 id="logicaldecoding-output-plugin-message">
      <title>Generic Message Callback</title>
 
diff --git a/src/backend/commands/repack_worker.c b/src/backend/commands/repack_worker.c
index 511dfa715ed..d77febf56db 100644
--- a/src/backend/commands/repack_worker.c
+++ b/src/backend/commands/repack_worker.c
@@ -51,13 +51,6 @@ static bool am_repack_worker = false;
 /* The WAL segment being decoded. */
 static XLogSegNo repack_current_segment = 0;
 
-/*
- * Keep track of the table we're processing, to skip logical decoding of data
- * from other relations.
- */
-static RelFileLocator repacked_rel_locator = {.relNumber = InvalidOid};
-static RelFileLocator repacked_rel_toast_locator = {.relNumber = InvalidOid};
-
 
 /* REPACK decoding worker entry point */
 void
@@ -248,6 +241,8 @@ repack_setup_logical_decoding(Oid relid, DecodingWorkerShared *shared)
 	char		slotname[NAMEDATALEN];
 	RepackDecodingState *dstate;
 	MemoryContext oldcxt;
+	RelFileLocator repacked_rel_locator,
+				repacked_rel_toast_locator;
 
 	/*
 	 * REPACK CONCURRENTLY is not allowed in a transaction block, so this
@@ -292,6 +287,8 @@ repack_setup_logical_decoding(Oid relid, DecodingWorkerShared *shared)
 		repacked_rel_toast_locator = toastrel->rd_locator;
 		table_close(toastrel, AccessShareLock);
 	}
+	else
+		repacked_rel_toast_locator.relNumber = InvalidOid;
 	table_close(rel, AccessShareLock);
 
 	set_repack_worker_setup_phase(shared,
@@ -317,6 +314,8 @@ repack_setup_logical_decoding(Oid relid, DecodingWorkerShared *shared)
 	dstate->relid = relid;
 	dstate->worker_cxt = CurrentMemoryContext;
 	dstate->worker_resowner = CurrentResourceOwner;
+	dstate->rel_locator = repacked_rel_locator;
+	dstate->rel_toast_locator = repacked_rel_toast_locator;
 
 	/* We don't have control on fast_forward, but verify it's sane */
 	Assert(!ctx->fast_forward);
@@ -547,46 +546,3 @@ decode_concurrent_changes(LogicalDecodingContext *ctx,
 
 	return done;
 }
-
-/*
- * Does the WAL record contain a data change that this backend does not need
- * to decode on behalf of REPACK (CONCURRENTLY)?
- */
-bool
-change_useless_for_repack(XLogRecordBuffer *buf)
-{
-	XLogReaderState *r = buf->record;
-	RelFileLocator locator;
-
-	/* TOAST locator should not be set unless the main is. */
-	Assert(!OidIsValid(repacked_rel_toast_locator.relNumber) ||
-		   OidIsValid(repacked_rel_locator.relNumber));
-
-	/*
-	 * Backends not involved in REPACK (CONCURRENTLY) should not do the
-	 * filtering.
-	 */
-	if (!OidIsValid(repacked_rel_locator.relNumber))
-		return false;
-
-	/*
-	 * If the record does not contain the block 0, it's probably not INSERT /
-	 * UPDATE / DELETE. In any case, we do not have enough information to
-	 * filter the change out.
-	 */
-	if (!XLogRecGetBlockTagExtended(r, 0, &locator, NULL, NULL, NULL))
-		return false;
-
-	/*
-	 * Decode the change if it belongs to the table we are repacking, or if it
-	 * belongs to its TOAST relation.
-	 */
-	if (RelFileLocatorEquals(locator, repacked_rel_locator))
-		return false;
-	if (OidIsValid(repacked_rel_toast_locator.relNumber) &&
-		RelFileLocatorEquals(locator, repacked_rel_toast_locator))
-		return false;
-
-	/* Filter out changes of other tables. */
-	return true;
-}
diff --git a/src/backend/replication/logical/decode.c b/src/backend/replication/logical/decode.c
index 031bb1001bd..9586417d3ff 100644
--- a/src/backend/replication/logical/decode.c
+++ b/src/backend/replication/logical/decode.c
@@ -442,8 +442,7 @@ heap2_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
 	{
 		case XLOG_HEAP2_MULTI_INSERT:
 			if (SnapBuildProcessChange(builder, xid, buf->origptr) &&
-				!ctx->fast_forward &&
-				!change_useless_for_repack(buf))
+				!ctx->fast_forward)
 				DecodeMultiInsert(ctx, buf);
 			break;
 		case XLOG_HEAP2_NEW_CID:
@@ -505,8 +504,7 @@ heap_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
 	{
 		case XLOG_HEAP_INSERT:
 			if (SnapBuildProcessChange(builder, xid, buf->origptr) &&
-				!ctx->fast_forward &&
-				!change_useless_for_repack(buf))
+				!ctx->fast_forward)
 				DecodeInsert(ctx, buf);
 			break;
 
@@ -518,22 +516,19 @@ heap_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
 		case XLOG_HEAP_HOT_UPDATE:
 		case XLOG_HEAP_UPDATE:
 			if (SnapBuildProcessChange(builder, xid, buf->origptr) &&
-				!ctx->fast_forward &&
-				!change_useless_for_repack(buf))
+				!ctx->fast_forward)
 				DecodeUpdate(ctx, buf);
 			break;
 
 		case XLOG_HEAP_DELETE:
 			if (SnapBuildProcessChange(builder, xid, buf->origptr) &&
-				!ctx->fast_forward &&
-				!change_useless_for_repack(buf))
+				!ctx->fast_forward)
 				DecodeDelete(ctx, buf);
 			break;
 
 		case XLOG_HEAP_TRUNCATE:
 			if (SnapBuildProcessChange(builder, xid, buf->origptr) &&
-				!ctx->fast_forward &&
-				!change_useless_for_repack(buf))
+				!ctx->fast_forward)
 				DecodeTruncate(ctx, buf);
 			break;
 
@@ -549,8 +544,7 @@ heap_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
 
 		case XLOG_HEAP_CONFIRM:
 			if (SnapBuildProcessChange(builder, xid, buf->origptr) &&
-				!ctx->fast_forward &&
-				!change_useless_for_repack(buf))
+				!ctx->fast_forward)
 				DecodeSpecConfirm(ctx, buf);
 			break;
 
@@ -600,6 +594,15 @@ FilterByOrigin(LogicalDecodingContext *ctx, ReplOriginId origin_id)
 	return filter_by_origin_cb_wrapper(ctx, origin_id);
 }
 
+static inline bool
+FilterByRelFileLocator(LogicalDecodingContext *ctx, RelFileLocator rlocator)
+{
+	if (ctx->callbacks.filter_by_rlocator_cb == NULL)
+		return false;
+
+	return filter_by_rlocator_cb_wrapper(ctx, rlocator);
+}
+
 /*
  * Handle rmgr LOGICALMSG_ID records for LogicalDecodingProcessRecord().
  */
@@ -955,6 +958,10 @@ DecodeInsert(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
 	if (target_locator.dbOid != ctx->slot->data.database)
 		return;
 
+	/* Is the output plugin interested in this relation? */
+	if (FilterByRelFileLocator(ctx, target_locator))
+		return;
+
 	/* output plugin doesn't look for this origin, no need to queue */
 	if (FilterByOrigin(ctx, XLogRecGetOrigin(r)))
 		return;
@@ -1014,6 +1021,10 @@ DecodeUpdate(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
 	if (target_locator.dbOid != ctx->slot->data.database)
 		return;
 
+	/* Is the output plugin interested in this relation? */
+	if (FilterByRelFileLocator(ctx, target_locator))
+		return;
+
 	/* output plugin doesn't look for this origin, no need to queue */
 	if (FilterByOrigin(ctx, XLogRecGetOrigin(r)))
 		return;
@@ -1089,6 +1100,10 @@ DecodeDelete(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
 	if (target_locator.dbOid != ctx->slot->data.database)
 		return;
 
+	/* Is the output plugin interested in this relation? */
+	if (FilterByRelFileLocator(ctx, target_locator))
+		return;
+
 	/* output plugin doesn't look for this origin, no need to queue */
 	if (FilterByOrigin(ctx, XLogRecGetOrigin(r)))
 		return;
@@ -1191,6 +1206,10 @@ DecodeMultiInsert(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
 	if (rlocator.dbOid != ctx->slot->data.database)
 		return;
 
+	/* Is the output plugin interested in this relation? */
+	if (FilterByRelFileLocator(ctx, rlocator))
+		return;
+
 	/* output plugin doesn't look for this origin, no need to queue */
 	if (FilterByOrigin(ctx, XLogRecGetOrigin(r)))
 		return;
@@ -1282,6 +1301,10 @@ DecodeSpecConfirm(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
 	if (target_locator.dbOid != ctx->slot->data.database)
 		return;
 
+	/* Is the output plugin interested in this relation? */
+	if (FilterByRelFileLocator(ctx, target_locator))
+		return;
+
 	/* output plugin doesn't look for this origin, no need to queue */
 	if (FilterByOrigin(ctx, XLogRecGetOrigin(r)))
 		return;
diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c
index 95760981b26..38db2242473 100644
--- a/src/backend/replication/logical/logical.c
+++ b/src/backend/replication/logical/logical.c
@@ -1334,6 +1334,38 @@ filter_by_origin_cb_wrapper(LogicalDecodingContext *ctx, ReplOriginId origin_id)
 	return ret;
 }
 
+bool
+filter_by_rlocator_cb_wrapper(LogicalDecodingContext *ctx,
+							  RelFileLocator rlocator)
+{
+	LogicalErrorCallbackState state;
+	ErrorContextCallback errcallback;
+	bool		ret;
+
+	Assert(!ctx->fast_forward);
+
+	/* Push callback + info on the error context stack */
+	state.ctx = ctx;
+	state.callback_name = "filter_by_rlocator";
+	state.report_location = InvalidXLogRecPtr;
+	errcallback.callback = output_plugin_error_callback;
+	errcallback.arg = &state;
+	errcallback.previous = error_context_stack;
+	error_context_stack = &errcallback;
+
+	/* set output state */
+	ctx->accept_writes = false;
+	ctx->end_xact = false;
+
+	/* do the actual work: call callback */
+	ret = ctx->callbacks.filter_by_rlocator_cb(ctx, rlocator);
+
+	/* Pop the error context stack */
+	error_context_stack = errcallback.previous;
+
+	return ret;
+}
+
 static void
 message_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn,
 				   TransactionId xid, XLogRecPtr message_lsn, bool transactional,
diff --git a/src/backend/replication/pgoutput/pgoutput.c b/src/backend/replication/pgoutput/pgoutput.c
index 4cb36f6d075..5341dd2b320 100644
--- a/src/backend/replication/pgoutput/pgoutput.c
+++ b/src/backend/replication/pgoutput/pgoutput.c
@@ -273,6 +273,7 @@ _PG_output_plugin_init(OutputPluginCallbacks *cb)
 	cb->commit_prepared_cb = pgoutput_commit_prepared_txn;
 	cb->rollback_prepared_cb = pgoutput_rollback_prepared_txn;
 	cb->filter_by_origin_cb = pgoutput_origin_filter;
+	cb->filter_by_rlocator_cb = NULL;
 	cb->shutdown_cb = pgoutput_shutdown;
 
 	/* transaction streaming */
diff --git a/src/backend/replication/pgrepack/pgrepack.c b/src/backend/replication/pgrepack/pgrepack.c
index 6006120548a..c8f6e064eaa 100644
--- a/src/backend/replication/pgrepack/pgrepack.c
+++ b/src/backend/replication/pgrepack/pgrepack.c
@@ -34,6 +34,8 @@ static void repack_process_change(LogicalDecodingContext *ctx, ReorderBufferTXN
 								  Relation relation, ReorderBufferChange *change);
 static void repack_store_change(LogicalDecodingContext *ctx, Relation relation,
 								ConcurrentChangeKind kind, HeapTuple tuple);
+static bool repack_filter_by_rlocator(LogicalDecodingContext *ctx,
+									  RelFileLocator rlocator);
 
 void
 _PG_output_plugin_init(OutputPluginCallbacks *cb)
@@ -41,8 +43,27 @@ _PG_output_plugin_init(OutputPluginCallbacks *cb)
 	cb->startup_cb = repack_startup;
 	cb->begin_cb = repack_begin_txn;
 	cb->change_cb = repack_process_change;
+	cb->truncate_cb = NULL;
 	cb->commit_cb = repack_commit_txn;
+	cb->message_cb = NULL;
+	cb->filter_by_origin_cb = NULL;
+	cb->filter_by_rlocator_cb = repack_filter_by_rlocator;
 	cb->shutdown_cb = repack_shutdown;
+
+	cb->filter_prepare_cb = NULL;
+	cb->begin_prepare_cb = NULL;
+	cb->prepare_cb = NULL;
+	cb->commit_prepared_cb = NULL;
+	cb->rollback_prepared_cb = NULL;
+
+	cb->stream_start_cb = NULL;
+	cb->stream_stop_cb = NULL;
+	cb->stream_abort_cb = NULL;
+	cb->stream_prepare_cb = NULL;
+	cb->stream_commit_cb = NULL;
+	cb->stream_change_cb = NULL;
+	cb->stream_message_cb = NULL;
+	cb->stream_truncate_cb = NULL;
 }
 
 
@@ -304,3 +325,43 @@ repack_store_change(LogicalDecodingContext *ctx, Relation relation,
 	MemoryContextSwitchTo(oldcxt);
 	MemoryContextReset(dstate->change_cxt);
 }
+
+/*
+ * rlocator-based filter callback for REPACK (CONCURRENTLY)
+ *
+ * If the given RelFileLocator matches one of the locators being processed by
+ * REPACK, return true to have this record be skipped by decoding.  Otherwise
+ * return false.
+ */
+static bool
+repack_filter_by_rlocator(struct LogicalDecodingContext *ctx,
+						  RelFileLocator rlocator)
+{
+	RepackDecodingState *dstate;
+
+	dstate = (RepackDecodingState *) ctx->output_writer_private;
+
+	/* TOAST locator should not be set unless the main is. */
+	Assert(!OidIsValid(dstate->rel_toast_locator.relNumber) ||
+		   OidIsValid(dstate->rel_locator.relNumber));
+
+	/*
+	 * This filter does not apply to decoders not involved in REPACK
+	 * (CONCURRENTLY).
+	 */
+	if (!OidIsValid(dstate->rel_locator.relNumber))
+		return false;
+
+	/*
+	 * Decode the change if it belongs to the table we are repacking, or if it
+	 * belongs to its TOAST relation.
+	 */
+	if (RelFileLocatorEquals(rlocator, dstate->rel_locator))
+		return false;
+	if (OidIsValid(dstate->rel_toast_locator.relNumber) &&
+		RelFileLocatorEquals(rlocator, dstate->rel_toast_locator))
+		return false;
+
+	/* Filter out changes of other tables. */
+	return true;
+}
diff --git a/src/include/commands/repack_internal.h b/src/include/commands/repack_internal.h
index 8bc0181d782..4ea41392d94 100644
--- a/src/include/commands/repack_internal.h
+++ b/src/include/commands/repack_internal.h
@@ -42,6 +42,13 @@ typedef struct RepackDecodingState
 	/* The relation whose changes we're decoding. */
 	Oid			relid;
 
+	/*
+	 * Keep track of the its locator(s), to skip logical decoding of data from
+	 * other relations.
+	 */
+	RelFileLocator rel_locator;
+	RelFileLocator rel_toast_locator;
+
 	/* Per-change memory context. */
 	MemoryContext change_cxt;
 
diff --git a/src/include/replication/decode.h b/src/include/replication/decode.h
index 2ef17790205..107e43ef750 100644
--- a/src/include/replication/decode.h
+++ b/src/include/replication/decode.h
@@ -32,8 +32,4 @@ extern void logicalmsg_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf
 extern void LogicalDecodingProcessRecord(LogicalDecodingContext *ctx,
 										 XLogReaderState *record);
 
-/* in commands/repack_worker.c */
-extern bool change_useless_for_repack(XLogRecordBuffer *buf);
-
-
 #endif
diff --git a/src/include/replication/logical.h b/src/include/replication/logical.h
index abc88c49ade..25d41b3c6a4 100644
--- a/src/include/replication/logical.h
+++ b/src/include/replication/logical.h
@@ -146,6 +146,8 @@ extern void LogicalConfirmReceivedLocation(XLogRecPtr lsn);
 extern bool filter_prepare_cb_wrapper(LogicalDecodingContext *ctx,
 									  TransactionId xid, const char *gid);
 extern bool filter_by_origin_cb_wrapper(LogicalDecodingContext *ctx, ReplOriginId origin_id);
+extern bool filter_by_rlocator_cb_wrapper(LogicalDecodingContext *ctx,
+										  RelFileLocator rlocator);
 extern void ResetLogicalStreamingState(void);
 extern void UpdateDecodingStats(LogicalDecodingContext *ctx);
 
diff --git a/src/include/replication/output_plugin.h b/src/include/replication/output_plugin.h
index 2f12fe09ea2..e0594f6361b 100644
--- a/src/include/replication/output_plugin.h
+++ b/src/include/replication/output_plugin.h
@@ -100,6 +100,12 @@ typedef void (*LogicalDecodeMessageCB) (struct LogicalDecodingContext *ctx,
 typedef bool (*LogicalDecodeFilterByOriginCB) (struct LogicalDecodingContext *ctx,
 											   ReplOriginId origin_id);
 
+/*
+ * Filter changes by relation file locator.
+ */
+typedef bool (*LogicalDecodeFilterByRelFileLocator) (struct LogicalDecodingContext *ctx,
+													 RelFileLocator rlocator);
+
 /*
  * Called to shutdown an output plugin.
  */
@@ -228,6 +234,7 @@ typedef struct OutputPluginCallbacks
 	LogicalDecodeCommitCB commit_cb;
 	LogicalDecodeMessageCB message_cb;
 	LogicalDecodeFilterByOriginCB filter_by_origin_cb;
+	LogicalDecodeFilterByRelFileLocator filter_by_rlocator_cb;
 	LogicalDecodeShutdownCB shutdown_cb;
 
 	/* streaming of changes at prepare time */
-- 
2.47.3

