diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml
index 5d46f619a7c..0c3eefc5228 100644
--- a/doc/src/sgml/postgres-fdw.sgml
+++ b/doc/src/sgml/postgres-fdw.sgml
@@ -374,8 +374,8 @@ OPTIONS (ADD password_required 'false');
        statistics from the remote table, and if all of the attributes being
        analyzed have statistics in the remote table, then it will import
        those statistics directly using
-       <function>pg_restore_relation_stats</relation> and
-       <function>pg_restore_attribute_stats</relation>. This option is only
+       <function>pg_restore_relation_stats</function> and
+       <function>pg_restore_attribute_stats</function>. This option is only
        useful if the remote relation is one that can have regular statistics
        (tables and materialized views).
        The default is <literal>true</literal>.
