Re: Some more indexterm - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: Some more indexterm
Date
Msg-id 200711280513.lAS5DkH05854@momjian.us
Whole thread Raw
In response to Some more indexterm  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgsql-docs
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. +
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

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: small changes to config and vacuum.sgml
Next
From: Guillaume Lelarge
Date:
Subject: Re: Some more indexterm