Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 922A82E3306 for ; Wed, 28 Nov 2007 01:22:39 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 19299-03-2 for ; Wed, 28 Nov 2007 01:22:30 -0400 (AST) Received: from momjian.us (momjian.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id D9E1D2E3283 for ; Wed, 28 Nov 2007 01:13:54 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id lAS5DkH05854; Wed, 28 Nov 2007 00:13:46 -0500 (EST) From: Bruce Momjian Message-Id: <200711280513.lAS5DkH05854@momjian.us> Subject: Re: Some more indexterm In-Reply-To: <474C9090.6070301@lelarge.info> To: Guillaume Lelarge Date: Wed, 28 Nov 2007 00:13:46 -0500 (EST) CC: pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ELM1196226826-12213-2_" Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/89 X-Sequence-Number: 4622 --ELM1196226826-12213-2_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" 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 http://momjian.us EnterpriseDB http://postgres.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + --ELM1196226826-12213-2_ Content-Transfer-Encoding: 7bit Content-Type: text/x-diff Content-Disposition: inline; filename="/rtmp/diff" 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 ---- current + + current_database + + + + current_schema + + + + current_user + + The session_user is normally the user who initiated the current database connection; but superusers can change this setting --ELM1196226826-12213-2_--