Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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