]> granicus.if.org Git - postgresql/commitdiff
Document that pg_options_to_table() also works for
authorBruce Momjian <bruce@momjian.us>
Sat, 26 Feb 2011 17:47:29 +0000 (12:47 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 26 Feb 2011 17:47:29 +0000 (12:47 -0500)
pg_attribute.attoptions.

doc/src/sgml/func.sgml

index 2f4c3dcc70b3bb752c147bd230f7cd39280e0fec..9c8e19f9afc125ad541defb0a41f950b3b178531 100644 (file)
@@ -13386,7 +13386,7 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
       <row>
        <entry><literal><function>pg_options_to_table(<parameter>reloptions</parameter>)</function></literal></entry>
        <entry><type>setof record</type></entry>
-       <entry>get the set of option name/value pairs from <structname>pg_class</>.<structfield>reloptions</></entry>
+       <entry>get the set of storage option name/value pairs</></entry>
       </row>
       <row>
        <entry><literal><function>pg_tablespace_databases(<parameter>tablespace_oid</parameter>)</function></literal></entry>
@@ -13484,9 +13484,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
   </para>
 
   <para>
-   <function>pg_options_to_table</function> returns the set of option
+   <function>pg_options_to_table</function> returns the set of storage option
    name/value pairs when passed
-   <structname>pg_class</>.<structfield>reloptions</>.
+   <structname>pg_class</>.<structfield>reloptions</> or
+   <structname>pg_attribute</>.<structfield>attoptions</>.
   </para>
 
   <para>