pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Some more indexterm
6+ messages / 3 participants
[nested] [flat]

* Some more indexterm
@ 2007-11-27 21:48 Guillaume Lelarge <guillaume@lelarge.info>
  2007-11-27 22:55 ` Re: Some more indexterm Bruce Momjian <bruce@momjian.us>
  2007-11-28 05:13 ` Re: Some more indexterm Bruce Momjian <bruce@momjian.us>
  0 siblings, 2 replies; 6+ messages in thread

From: Guillaume Lelarge @ 2007-11-27 21:48 UTC (permalink / raw)
  To: pgsql-docs

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.

Regards.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Attachments:

func.patch (text/x-patch, 457B) download Index: doc/src/sgml/func.sgml =================================================================== RCS file: /projects/cvsroot/pgsql/doc/src/sgml/func.sgml,v retrieving revision 1.412 diff -r1.412 func.sgml 10710a10711,10722 > <primary>current_database</primary> > </indexterm> > > <indexterm> > <primary>current_schema</primary> > </indexterm> > > <indexterm> > <primary>current_user</primary> > </indexterm> > > <indexterm>
^ permalink raw reply [nested|flat] 6+ messages in thread

* Re: Some more indexterm
  2007-11-27 21:48 Some more indexterm Guillaume Lelarge <guillaume@lelarge.info>
@ 2007-11-27 22:55 ` Bruce Momjian <bruce@momjian.us>
  2007-11-28 07:02   ` Re: Some more indexterm Guillaume Lelarge <guillaume@lelarge.info>
  1 sibling, 1 reply; 6+ messages in thread

From: Bruce Momjian @ 2007-11-27 22:55 UTC (permalink / raw)
  To: Guillaume Lelarge <guillaume@lelarge.info>; +Cc: pgsql-docs


Please send us a context diff, diff -c.

---------------------------------------------------------------------------

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.
> 
> Regards.
> 
> 
> -- 
> Guillaume.
>  http://www.postgresqlfr.org
>  http://dalibo.com


> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

-- 
  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. +



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

* Re: Some more indexterm
  2007-11-27 21:48 Some more indexterm Guillaume Lelarge <guillaume@lelarge.info>
  2007-11-27 22:55 ` Re: Some more indexterm Bruce Momjian <bruce@momjian.us>
@ 2007-11-28 07:02   ` Guillaume Lelarge <guillaume@lelarge.info>
  2007-11-28 07:05     ` Re: Some more indexterm Joshua D. Drake <jd@commandprompt.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Guillaume Lelarge @ 2007-11-28 07:02 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; +Cc: pgsql-docs

Bruce Momjian a écrit :
> Please send us a context diff, diff -c.
> 

Sorry, I thought a "cvs diff" was enough. Is there a way to get a
context diff with "cvs diff" command ?

Regards.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com



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

* Re: Some more indexterm
  2007-11-27 21:48 Some more indexterm Guillaume Lelarge <guillaume@lelarge.info>
  2007-11-27 22:55 ` Re: Some more indexterm Bruce Momjian <bruce@momjian.us>
  2007-11-28 07:02   ` Re: Some more indexterm Guillaume Lelarge <guillaume@lelarge.info>
@ 2007-11-28 07:05     ` Joshua D. Drake <jd@commandprompt.com>
  2007-11-28 07:11       ` Re: Some more indexterm Guillaume Lelarge <guillaume@lelarge.info>
  0 siblings, 1 reply; 6+ messages in thread

From: Joshua D. Drake @ 2007-11-28 07:05 UTC (permalink / raw)
  To: Guillaume Lelarge <guillaume@lelarge.info>; +Cc: Bruce Momjian <bruce@momjian.us>; pgsql-docs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 28 Nov 2007 08:02:45 +0100
Guillaume Lelarge <guillaume@lelarge.info> wrote:

> Bruce Momjian a écrit :
> > Please send us a context diff, diff -c.
> > 
> 
> Sorry, I thought a "cvs diff" was enough. Is there a way to get a
> context diff with "cvs diff" command ?

cvs diff -c

> 
> Regards.
> 
> 


- -- 

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564   24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997  http://www.commandprompt.com/
			UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHTRNVATb/zqfZUUQRArBMAJ4sfX6x9/dL6lvsoOq90WN7ycM4ZwCdEYOc
0xXOoI/C1ajRqXbDUCXYUjQ=
=nV8w
-----END PGP SIGNATURE-----


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

* Re: Some more indexterm
  2007-11-27 21:48 Some more indexterm Guillaume Lelarge <guillaume@lelarge.info>
  2007-11-27 22:55 ` Re: Some more indexterm Bruce Momjian <bruce@momjian.us>
  2007-11-28 07:02   ` Re: Some more indexterm Guillaume Lelarge <guillaume@lelarge.info>
  2007-11-28 07:05     ` Re: Some more indexterm Joshua D. Drake <jd@commandprompt.com>
@ 2007-11-28 07:11       ` Guillaume Lelarge <guillaume@lelarge.info>
  0 siblings, 0 replies; 6+ messages in thread

From: Guillaume Lelarge @ 2007-11-28 07:11 UTC (permalink / raw)
  To: Joshua D. Drake <jd@commandprompt.com>; +Cc: Bruce Momjian <bruce@momjian.us>; pgsql-docs

Joshua D. Drake a écrit :
> On Wed, 28 Nov 2007 08:02:45 +0100
> Guillaume Lelarge <guillaume@lelarge.info> wrote:
> 
>> Bruce Momjian a écrit :
>>> Please send us a context diff, diff -c.
>>>
>> Sorry, I thought a "cvs diff" was enough. Is there a way to get a
>> context diff with "cvs diff" command ?
> 
> cvs diff -c
> 

Thanks, I put this on my .cvsrc and I can now send a new documentation
patch.

Regards.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com



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

* Re: Some more indexterm
  2007-11-27 21:48 Some more indexterm Guillaume Lelarge <guillaume@lelarge.info>
@ 2007-11-28 05:13 ` Bruce Momjian <bruce@momjian.us>
  1 sibling, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2007-11-28 05:13 UTC (permalink / raw)
  To: Guillaume Lelarge <guillaume@lelarge.info>; +Cc: 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. +

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
^ permalink raw reply [nested|flat] 6+ messages in thread


end of thread, other threads:[~2007-11-28 07:11 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-11-27 21:48 Some more indexterm Guillaume Lelarge <guillaume@lelarge.info>
2007-11-27 22:55 ` Bruce Momjian <bruce@momjian.us>
2007-11-28 07:02   ` Guillaume Lelarge <guillaume@lelarge.info>
2007-11-28 07:05     ` Joshua D. Drake <jd@commandprompt.com>
2007-11-28 07:11       ` Guillaume Lelarge <guillaume@lelarge.info>
2007-11-28 05:13 ` Bruce Momjian <bruce@momjian.us>

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