diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml
index b81f33732fb..bf54f8937c4 100644
--- a/doc/src/sgml/postgres-fdw.sgml
+++ b/doc/src/sgml/postgres-fdw.sgml
@@ -1470,9 +1470,9 @@ CREATE USER MAPPING FOR local_user
 CREATE FOREIGN TABLE foreign_table (
         id integer NOT NULL,
         data text
-)
-        SERVER foreign_server
-        OPTIONS (schema_name 'some_schema', table_name 'some_table');
+) 
+SERVER foreign_server
+OPTIONS (schema_name 'some_schema', table_name 'some_table');
 </programlisting>
 
    It's essential that the data types and other properties of the columns
