From: Karsten Hilbert <Karsten.Hilbert@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: "peer" authentication: cannot make "pg_ident.conf" work as I believe that the doc says that it should
Date: Sun, 30 Oct 2022 17:16:47 +0100
Message-ID: <Y16jb7tNR3G/dSd8@hermes.hilbert.loc> (raw)
In-Reply-To: <533103a6-044d-0047-91e8-9bcbce94b9a3@aklaver.com>
References: <9801E977-425C-41BF-B024-19BC875940C0@icloud.com>
<b6bc9855-a4bb-d9a3-a60e-bf3bf6be9332@aklaver.com>
<C5AE5E6F-C584-42C9-A871-FD992BDB021C@yugabyte.com>
<CAKFQuwY1WNB=ikgazfriLg_TkJO_bQw36gAdhx7WN-OoGnsaSQ@mail.gmail.com>
<533103a6-044d-0047-91e8-9bcbce94b9a3@aklaver.com>
Am Sat, Oct 29, 2022 at 09:15:08PM -0700 schrieb Adrian Klaver:
> > *# MAPNAME SYSTEM-USERNAME PG-USERNAME*
> > *# ------- --------------- -----------
> > bllewell mary mary
> > *
> >
> >
> >As has been said numerous times, it is utterly pointless to define a mapping like this
> >- you get mary-is-mary for free just by saying peer.
It certainly is but he probably did it just to check whether
anything changes when another code path is run (the mapping)
while the previously-working result (= successful login)
should not change (mary is still mary). despite the
additional code path.
It seems to be a way of bisecting in order to verify/falsify
assumptions in his mental model.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: Karsten.Hilbert@gmx.net
Subject: Re: "peer" authentication: cannot make "pg_ident.conf" work as I believe that the doc says that it should
In-Reply-To: <Y16jb7tNR3G/dSd8@hermes.hilbert.loc>
References: <9801E977-425C-41BF-B024-19BC875940C0@icloud.com> <b6bc9855-a4bb-d9a3-a60e-bf3bf6be9332@aklaver.com> <C5AE5E6F-C584-42C9-A871-FD992BDB021C@yugabyte.com> <CAKFQuwY1WNB=ikgazfriLg_TkJO_bQw36gAdhx7WN-OoGnsaSQ@mail.gmail.com> <533103a6-044d-0047-91e8-9bcbce94b9a3@aklaver.com> <Y16jb7tNR3G/dSd8@hermes.hilbert.loc>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox