From 59bacbe1470b7b3c4382284301267b18daf98e93 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 11 Mar 2011 10:23:59 -0500 Subject: [PATCH] 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 --- doc/src/sgml/func.sgml | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index c392109e6d..f746ed6e90 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -12508,6 +12508,10 @@ postgres=# SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]); current + + session_user + + user current @@ -12767,34 +12771,34 @@ SET search_path TO schema , schema, .. does current user have privilege for schema - has_server_privilege(user, - server, + has_sequence_privilege(user, + sequence, privilege) boolean - does user have privilege for foreign server + does user have privilege for sequence - has_server_privilege(server, + has_sequence_privilege(sequence, privilege) boolean - does current user have privilege for foreign server + does current user have privilege for sequence - has_sequence_privilege(user, - sequence, + has_server_privilege(user, + server, privilege) boolean - does user have privilege for sequence + does user have privilege for foreign server - has_sequence_privilege(sequence, + has_server_privilege(server, privilege) boolean - does current user have privilege for sequence + does current user have privilege for foreign server has_table_privilege(user, @@ -13198,6 +13202,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); format_type + + pg_describe_object + + pg_get_constraintdef @@ -13280,6 +13288,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); text get SQL name of a data type + + pg_describe_object(catalog_id, object_id, object_sub_id) + text + get description of a database object + pg_get_constraintdef(constraint_oid) text @@ -13400,11 +13413,6 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); setof oid get the set of database OIDs that have objects in the tablespace - - pg_describe_object(catalog_id, object_id, object_sub_id)) - text - get description of a database object - pg_typeof(any) regtype -- 2.40.0