Re: Re: [HACKERS] SESSION_USER

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: [HACKERS] SESSION_USER
Дата
Msg-id 17157.955839129@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: [HACKERS] SESSION_USER  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Re: [HACKERS] SESSION_USER  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-docs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> 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.

No we don't!

regression=# select system_user;
ERROR:  Attribute 'system_user' not found

            regards, tom lane

В списке pgsql-docs по дате отправления:

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