Commit 772dcfe7 authored by Bruce Momjian's avatar Bruce Momjian

Document pg_options_to_table() (not previously documented)

parent 000128bc
...@@ -13243,6 +13243,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); ...@@ -13243,6 +13243,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
<primary>pg_get_viewdef</primary> <primary>pg_get_viewdef</primary>
</indexterm> </indexterm>
<indexterm>
<primary>pg_options_to_table</primary>
</indexterm>
<indexterm> <indexterm>
<primary>pg_tablespace_databases</primary> <primary>pg_tablespace_databases</primary>
</indexterm> </indexterm>
...@@ -13379,6 +13383,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); ...@@ -13379,6 +13383,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
<entry><type>text</type></entry> <entry><type>text</type></entry>
<entry>get underlying <command>SELECT</command> command for view</entry> <entry>get underlying <command>SELECT</command> command for view</entry>
</row> </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> <row>
<entry><literal><function>pg_tablespace_databases(<parameter>tablespace_oid</parameter>)</function></literal></entry> <entry><literal><function>pg_tablespace_databases(<parameter>tablespace_oid</parameter>)</function></literal></entry>
<entry><type>setof oid</type></entry> <entry><type>setof oid</type></entry>
...@@ -13474,6 +13483,12 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); ...@@ -13474,6 +13483,12 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
its OID. its OID.
</para> </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> <para>
<function>pg_tablespace_databases</function> allows a tablespace to be <function>pg_tablespace_databases</function> allows a tablespace to be
examined. It returns the set of OIDs of databases that have objects stored examined. It returns the set of OIDs of databases that have objects stored
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment