| From: | "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at> |
|---|---|
| To: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: "peer" authentication: cannot make "pg_ident.conf" work as I believe that the doc says that it should |
| Date: | 2022-10-30 09:50:00 |
| Message-ID: | 20221030095000.fglfyyp2djakzjfz@hjp.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 2022-10-29 20:20:50 -0700, Bryn Llewellyn wrote:
> My problem stems from the fact that the goal statement that my inner
> voice expresses seems so simple to state. This is what I want:
>
> 1. I want to do this at the O/S prompt on the machine where my PG cluster has
> been started: "su mary".
>
> 2. Then I want to start a session (I use "psql" here an an example) like this:
> "psql -d postgres".
>
> 3. Then, at the "psql" prompt, I want "select session_user" to show "bob".
Set the PGUSER=bob in mary's environment.
hp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp(at)hjp(dot)at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter J. Holzer | 2022-10-30 10:04:27 | Re: "peer" authentication: cannot make "pg_ident.conf" work as I believe that the doc says that it should |
| Previous Message | Peter J. Holzer | 2022-10-30 09:47:39 | Re: "peer" authentication: cannot make "pg_ident.conf" work as I believe that the doc says that it should |