From: Bruce Momjian <bruce@momjian.us>
To: Guillaume Lelarge <guillaume@lelarge.info>
Cc: pgsql-docs@postgresql.org
Subject: Re: Some more indexterm
Date: Wed, 28 Nov 2007 00:13:46 -0500 (EST)
Message-ID: <200711280513.lAS5DkH05854@momjian.us> (raw)
In-Reply-To: <474C9090.6070301@lelarge.info>
Guillaume Lelarge wrote:
> Hi all,
>
> During a training course last week, a customer told me he found strange
> that current_user is not available on the documentation's index. I think
> he's right, so I made this little patch thats adds indexterm tags for
> current_database, current_schema and current_user.
>
> Please apply if you find this interesting.
I figured out where it goes in the docs. Applied and attached.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Attachments:/rtmp/diff (text/x-diff, 835B) download
Index: doc/src/sgml/func.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/func.sgml,v
retrieving revision 1.412
diff -c -c -r1.412 func.sgml
*** doc/src/sgml/func.sgml 27 Nov 2007 18:29:11 -0000 1.412
--- doc/src/sgml/func.sgml 28 Nov 2007 05:12:40 -0000
***************
*** 10722,10727 ****
--- 10722,10739 ----
<secondary>current</secondary>
</indexterm>
+ <indexterm>+ <primary>current_database</primary>+ </indexterm>+ + <indexterm>+ <primary>current_schema</primary>+ </indexterm>+ + <indexterm>+ <primary>current_user</primary>+ </indexterm>+
<para>
The <function>session_user</function> is normally the user who initiated
the current database connection; but superusers can change this setting
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-docs@postgresql.org
Cc: bruce@momjian.us, guillaume@lelarge.info
Subject: Re: Some more indexterm
In-Reply-To: <200711280513.lAS5DkH05854@momjian.us>
References: <474C9090.6070301@lelarge.info> <200711280513.lAS5DkH05854@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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