diff --git a/doc/src/sgml/logicaldecoding.sgml b/doc/src/sgml/logicaldecoding.sgml
index 4f08533167..7249cae58f 100644
--- a/doc/src/sgml/logicaldecoding.sgml
+++ b/doc/src/sgml/logicaldecoding.sgml
@@ -581,7 +581,7 @@ typedef void (*LogicalDecodeChangeCB) (
from origin_id is of interest to the
output plugin.
-typedef bool (*LogicalDecodeChangeCB) (
+typedef bool (*LogicalDecodeFilterByOriginCB) (
struct LogicalDecodingContext *ctx,
RepNodeId origin_id
);