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

From Peter Eisentraut
Subject Re: Re: [HACKERS] SESSION_USER
Date
Msg-id Pine.LNX.4.21.0004151618140.523-100000@localhost.localdomain
Whole thread Raw
In response to Re: [HACKERS] SESSION_USER  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: [HACKERS] SESSION_USER
List pgsql-docs
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.


--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Doc TODO list is done
Next
From: Bruce Momjian
Date:
Subject: Re: Re: [HACKERS] SESSION_USER