Re: Re: [HACKERS] SESSION_USER

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Re: [HACKERS] SESSION_USER
Дата
Msg-id Pine.LNX.4.21.0004151618140.523-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: [HACKERS] SESSION_USER  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: [HACKERS] SESSION_USER  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Doc TODO list is done
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: [HACKERS] SESSION_USER