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

From Tom Lane
Subject Re: Re: [HACKERS] SESSION_USER
Date
Msg-id 17157.955839129@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: [HACKERS] SESSION_USER  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Re: [HACKERS] SESSION_USER  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

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