Re: Re: [HACKERS] SESSION_USER - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: Re: [HACKERS] SESSION_USER
Date
Msg-id 200004151850.OAA02648@candle.pha.pa.us
Whole thread Raw
In response to Re: Re: [HACKERS] SESSION_USER  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Re: [HACKERS] SESSION_USER  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> Tom Lane writes:
>
> > Looking at the spec, we do seem to be missing SYSTEM_USER out of the
> > four variants the spec mentions.  However, considering that we map
> > them all to the same thing anyway, I can't get too excited about it.
>
> SYSTEM_USER is the operating system user that connected to the database
> system. This is obviously not generally applicable in the environment
> PostgreSQL runs in, nor is there a universal and reliable way to get this
> information, so I suggest we don't bother about it. Mapping it to
> [CURRENT_]USER would certainly be wrong.
>

Well, we do already map it.  I just documented it.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Re: [HACKERS] SESSION_USER
Next
From: Bruce Momjian
Date:
Subject: Re: PostreSQL