<secondary>current</secondary>
</indexterm>
+ <indexterm>
+ <primary>session_user</primary>
+ </indexterm>
+
<indexterm>
<primary>user</primary>
<secondary>current</secondary>
<entry>does current user have privilege for schema</entry>
</row>
<row>
- <entry><literal><function>has_server_privilege</function>(<parameter>user</parameter>,
- <parameter>server</parameter>,
+ <entry><literal><function>has_sequence_privilege</function>(<parameter>user</parameter>,
+ <parameter>sequence</parameter>,
<parameter>privilege</parameter>)</literal>
</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>
- <entry><literal><function>has_server_privilege</function>(<parameter>server</parameter>,
+ <entry><literal><function>has_sequence_privilege</function>(<parameter>sequence</parameter>,
<parameter>privilege</parameter>)</literal>
</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>
- <entry><literal><function>has_sequence_privilege</function>(<parameter>user</parameter>,
- <parameter>sequence</parameter>,
+ <entry><literal><function>has_server_privilege</function>(<parameter>user</parameter>,
+ <parameter>server</parameter>,
<parameter>privilege</parameter>)</literal>
</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>
- <entry><literal><function>has_sequence_privilege</function>(<parameter>sequence</parameter>,
+ <entry><literal><function>has_server_privilege</function>(<parameter>server</parameter>,
<parameter>privilege</parameter>)</literal>
</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>
<entry><literal><function>has_table_privilege</function>(<parameter>user</parameter>,
<primary>format_type</primary>
</indexterm>
+ <indexterm>
+ <primary>pg_describe_object</primary>
+ </indexterm>
+
<indexterm>
<primary>pg_get_constraintdef</primary>
</indexterm>
<entry><type>text</type></entry>
<entry>get SQL name of a data type</entry>
</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>
<entry><literal><function>pg_get_constraintdef(<parameter>constraint_oid</parameter>)</function></literal></entry>
<entry><type>text</type></entry>
<entry><type>setof oid</type></entry>
<entry>get the set of database OIDs that have objects in the tablespace</entry>
</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>
<entry><literal><function>pg_typeof(<parameter>any</parameter>)</function></literal></entry>
<entry><type>regtype</type></entry>