Commit 59bacbe1 authored by Bruce Momjian's avatar Bruce Momjian

Adds index entries for session_user and pg_describe_object

Removes extraneous closing parenthesis from pg_describe_object
Puts pg_describe_object and has_sequence_privilege in correct
alphabetical position in function listing

Thom Brown
parent 35a1964e
...@@ -12508,6 +12508,10 @@ postgres=# SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]); ...@@ -12508,6 +12508,10 @@ postgres=# SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]);
<secondary>current</secondary> <secondary>current</secondary>
</indexterm> </indexterm>
<indexterm>
<primary>session_user</primary>
</indexterm>
<indexterm> <indexterm>
<primary>user</primary> <primary>user</primary>
<secondary>current</secondary> <secondary>current</secondary>
...@@ -12767,34 +12771,34 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, .. ...@@ -12767,34 +12771,34 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, ..
<entry>does current user have privilege for schema</entry> <entry>does current user have privilege for schema</entry>
</row> </row>
<row> <row>
<entry><literal><function>has_server_privilege</function>(<parameter>user</parameter>, <entry><literal><function>has_sequence_privilege</function>(<parameter>user</parameter>,
<parameter>server</parameter>, <parameter>sequence</parameter>,
<parameter>privilege</parameter>)</literal> <parameter>privilege</parameter>)</literal>
</entry> </entry>
<entry><type>boolean</type></entry> <entry><type>boolean</type></entry>
<entry>does user have privilege for foreign server</entry> <entry>does user have privilege for sequence</entry>
</row> </row>
<row> <row>
<entry><literal><function>has_server_privilege</function>(<parameter>server</parameter>, <entry><literal><function>has_sequence_privilege</function>(<parameter>sequence</parameter>,
<parameter>privilege</parameter>)</literal> <parameter>privilege</parameter>)</literal>
</entry> </entry>
<entry><type>boolean</type></entry> <entry><type>boolean</type></entry>
<entry>does current user have privilege for foreign server</entry> <entry>does current user have privilege for sequence</entry>
</row> </row>
<row> <row>
<entry><literal><function>has_sequence_privilege</function>(<parameter>user</parameter>, <entry><literal><function>has_server_privilege</function>(<parameter>user</parameter>,
<parameter>sequence</parameter>, <parameter>server</parameter>,
<parameter>privilege</parameter>)</literal> <parameter>privilege</parameter>)</literal>
</entry> </entry>
<entry><type>boolean</type></entry> <entry><type>boolean</type></entry>
<entry>does user have privilege for sequence</entry> <entry>does user have privilege for foreign server</entry>
</row> </row>
<row> <row>
<entry><literal><function>has_sequence_privilege</function>(<parameter>sequence</parameter>, <entry><literal><function>has_server_privilege</function>(<parameter>server</parameter>,
<parameter>privilege</parameter>)</literal> <parameter>privilege</parameter>)</literal>
</entry> </entry>
<entry><type>boolean</type></entry> <entry><type>boolean</type></entry>
<entry>does current user have privilege for sequence</entry> <entry>does current user have privilege for foreign server</entry>
</row> </row>
<row> <row>
<entry><literal><function>has_table_privilege</function>(<parameter>user</parameter>, <entry><literal><function>has_table_privilege</function>(<parameter>user</parameter>,
...@@ -13198,6 +13202,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); ...@@ -13198,6 +13202,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
<primary>format_type</primary> <primary>format_type</primary>
</indexterm> </indexterm>
<indexterm>
<primary>pg_describe_object</primary>
</indexterm>
<indexterm> <indexterm>
<primary>pg_get_constraintdef</primary> <primary>pg_get_constraintdef</primary>
</indexterm> </indexterm>
...@@ -13280,6 +13288,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); ...@@ -13280,6 +13288,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
<entry><type>text</type></entry> <entry><type>text</type></entry>
<entry>get SQL name of a data type</entry> <entry>get SQL name of a data type</entry>
</row> </row>
<row>
<entry><literal><function>pg_describe_object(<parameter>catalog_id</parameter>, <parameter>object_id</parameter>, <parameter>object_sub_id</parameter>)</function></literal></entry>
<entry><type>text</type></entry>
<entry>get description of a database object</entry>
</row>
<row> <row>
<entry><literal><function>pg_get_constraintdef(<parameter>constraint_oid</parameter>)</function></literal></entry> <entry><literal><function>pg_get_constraintdef(<parameter>constraint_oid</parameter>)</function></literal></entry>
<entry><type>text</type></entry> <entry><type>text</type></entry>
...@@ -13400,11 +13413,6 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); ...@@ -13400,11 +13413,6 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
<entry><type>setof oid</type></entry> <entry><type>setof oid</type></entry>
<entry>get the set of database OIDs that have objects in the tablespace</entry> <entry>get the set of database OIDs that have objects in the tablespace</entry>
</row> </row>
<row>
<entry><literal><function>pg_describe_object(<parameter>catalog_id</parameter>, <parameter>object_id</parameter>, <parameter>object_sub_id</parameter>)</function>)</literal></entry>
<entry><type>text</type></entry>
<entry>get description of a database object</entry>
</row>
<row> <row>
<entry><literal><function>pg_typeof(<parameter>any</parameter>)</function></literal></entry> <entry><literal><function>pg_typeof(<parameter>any</parameter>)</function></literal></entry>
<entry><type>regtype</type></entry> <entry><type>regtype</type></entry>
......
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