OSDN Git Service

Corrections to CREATE FOREIGN TABLE documentation.
authorRobert Haas <rhaas@postgresql.org>
Wed, 16 Mar 2011 12:11:24 +0000 (08:11 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 16 Mar 2011 12:13:02 +0000 (08:13 -0400)
Omit incorrect = sign, and properly document server_name parameter.

Shigeru Hanada

doc/src/sgml/ref/create_foreign_table.sgml

index 77c6214..ad91072 100644 (file)
@@ -126,7 +126,16 @@ CREATE FOREIGN TABLE [ IF NOT EXISTS ] <replaceable class="PARAMETER">table_name
    </varlistentry>
 
    <varlistentry>
-    <term><literal>OPTIONS ( <replaceable class="PARAMETER">option</replaceable> = '<replaceable class="PARAMETER">value</replaceable>' [, ...] )</literal></term>
+    <term><replaceable class="PARAMETER">server_name</replaceable></term>
+    <listitem>
+     <para>
+      The name of an existing server for the foreign table.
+     </para>
+    </listitem>
+   </varlistentry>
+
+   <varlistentry>
+    <term><literal>OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ...] )</literal></term>
     <listitem>
      <para>
       Options to be associated with the new foreign table.