diff --git a/doc/src/sgml/logicaldecoding.sgml b/doc/src/sgml/logicaldecoding.sgml
index 02794cc5f274981256f630b6a143610a76d1daf9..1ae5eb6ae3471d043f1123affaf972f9673112f3 100644
--- a/doc/src/sgml/logicaldecoding.sgml
+++ b/doc/src/sgml/logicaldecoding.sgml
@@ -581,7 +581,7 @@ typedef void (*LogicalDecodeChangeCB) (
        from <parameter>origin_id</parameter> is of interest to the
        output plugin.
 <programlisting>
-typedef bool (*LogicalDecodeChangeCB) (
+typedef bool (*LogicalDecodeFilterByOriginCB) (
     struct LogicalDecodingContext *ctx,
     RepNodeId origin_id
 );