fix-create-foreign-table-example-format.patch

text/x-patch

Filename: fix-create-foreign-table-example-format.patch
Type: text/x-patch
Part: 0
Message: docs: Fix format of CREATE FOREIGN TABLE example in postgres_fdw

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
doc/src/sgml/postgres-fdw.sgml 3 3
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