<primary>pg_get_viewdef</primary>
</indexterm>
+ <indexterm>
+ <primary>pg_options_to_table</primary>
+ </indexterm>
+
<indexterm>
<primary>pg_tablespace_databases</primary>
</indexterm>
<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>
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