Document pg_options_to_table() (not previously documented)

This commit is contained in:
Bruce Momjian 2011-02-26 01:55:26 -05:00
parent 000128bc7f
commit 772dcfe7c0

View File

@ -13243,6 +13243,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
<primary>pg_get_viewdef</primary>
</indexterm>
<indexterm>
<primary>pg_options_to_table</primary>
</indexterm>
<indexterm>
<primary>pg_tablespace_databases</primary>
</indexterm>
@ -13379,6 +13383,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
<entry><type>text</type></entry>
<entry>get underlying <command>SELECT</command> command for view</entry>
</row>
<row>
<entry><literal><function>pg_options_to_table(<parameter>reloptions</parameter>)</function></literal></entry>
<entry><type>name, option</type></entry>
<entry>get the set of option name/value pairs from <structname>pg_class</>.<structfield>reloptions</></entry>
</row>
<row>
<entry><literal><function>pg_tablespace_databases(<parameter>tablespace_oid</parameter>)</function></literal></entry>
<entry><type>setof oid</type></entry>
@ -13474,6 +13483,12 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
its OID.
</para>
<para>
<function>pg_options_to_table</function> returns the set of option
name/value pairs when passed
<structname>pg_class</>.<structfield>reloptions</>.
</para>
<para>
<function>pg_tablespace_databases</function> allows a tablespace to be
examined. It returns the set of OIDs of databases that have objects stored