Re: Re: [HACKERS] SESSION_USER

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>, PostgreSQL-documentation <docs(at)postgreSQL(dot)org>
Subject: Re: Re: [HACKERS] SESSION_USER
Date: 2000-04-15 18:50:35
Message-ID: 200004151850.OAA02648@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> 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.
>

Well, we do already map it. I just documented it.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2000-04-15 18:53:01 Re: Re: [HACKERS] SESSION_USER
Previous Message Bruce Momjian 2000-04-14 22:07:56 Doc TODO list is done