pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
System functions doc page tidy-up
3+ messages / 2 participants
[nested] [flat]

* System functions doc page tidy-up
@ 2011-03-10 20:15  Thom Brown <thom@linux.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Thom Brown @ 2011-03-10 20:15 UTC (permalink / raw)
  To: pgsql-docs

Attached is a minor patch which changes the following:

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
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachments:

system_funcs_tidy.patch (application/octet-stream, 4.5K) download diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 5ccece2..37362cd 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -12502,6 +12502,10 @@ postgres=# SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]); </indexterm> <indexterm> + <primary>session_user</primary> + </indexterm> + + <indexterm> <primary>user</primary> <secondary>current</secondary> </indexterm> @@ -12760,34 +12764,34 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, .. <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>, @@ -13192,6 +13196,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); </indexterm> <indexterm> + <primary>pg_describe_object</primary> + <indexterm> + + <indexterm> <primary>pg_get_constraintdef</primary> </indexterm> @@ -13274,6 +13282,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); <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>get definition of a constraint</entry> @@ -13394,11 +13407,6 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); <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> <entry>get the data type of any value</entry>
^ permalink raw reply [nested|flat] 3+ messages in thread

* Re: System functions doc page tidy-up
@ 2011-03-11 15:24  Bruce Momjian <bruce@momjian.us>
  parent: Thom Brown <thom@linux.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Bruce Momjian @ 2011-03-11 15:24 UTC (permalink / raw)
  To: Thom Brown <thom@linux.com>; +Cc: pgsql-docs

Thom Brown wrote:
> Attached is a minor patch which changes the following:
> 
> 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

Applied.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: System functions doc page tidy-up
@ 2011-03-11 15:29  Thom Brown <thom@linux.com>
  parent: Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Thom Brown @ 2011-03-11 15:29 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; +Cc: pgsql-docs

On 11 March 2011 15:24, Bruce Momjian <bruce@momjian.us> wrote:
> Thom Brown wrote:
>> Attached is a minor patch which changes the following:
>>
>> 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
>
> Applied.

Thanks :)

-- 
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2011-03-11 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-03-10 20:15 System functions doc page tidy-up Thom Brown <thom@linux.com>
2011-03-11 15:24 ` Bruce Momjian <bruce@momjian.us>
2011-03-11 15:29   ` Thom Brown <thom@linux.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox