Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 772dcfe

Browse files
committed
Document pg_options_to_table() (not previously documented)
1 parent 000128b commit 772dcfe

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/src/sgml/func.sgml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13243,6 +13243,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
1324313243
<primary>pg_get_viewdef</primary>
1324413244
</indexterm>
1324513245

13246+
<indexterm>
13247+
<primary>pg_options_to_table</primary>
13248+
</indexterm>
13249+
1324613250
<indexterm>
1324713251
<primary>pg_tablespace_databases</primary>
1324813252
</indexterm>
@@ -13379,6 +13383,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
1337913383
<entry><type>text</type></entry>
1338013384
<entry>get underlying <command>SELECT</command> command for view</entry>
1338113385
</row>
13386+
<row>
13387+
<entry><literal><function>pg_options_to_table(<parameter>reloptions</parameter>)</function></literal></entry>
13388+
<entry><type>name, option</type></entry>
13389+
<entry>get the set of option name/value pairs from <structname>pg_class</>.<structfield>reloptions</></entry>
13390+
</row>
1338213391
<row>
1338313392
<entry><literal><function>pg_tablespace_databases(<parameter>tablespace_oid</parameter>)</function></literal></entry>
1338413393
<entry><type>setof oid</type></entry>
@@ -13474,6 +13483,12 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
1347413483
its OID.
1347513484
</para>
1347613485

13486+
<para>
13487+
<function>pg_options_to_table</function> returns the set of option
13488+
name/value pairs when passed
13489+
<structname>pg_class</>.<structfield>reloptions</>.
13490+
</para>
13491+
1347713492
<para>
1347813493
<function>pg_tablespace_databases</function> allows a tablespace to be
1347913494
examined. It returns the set of OIDs of databases that have objects stored

0 commit comments

Comments
 (0)