Search Postgresql Archives

Re: "peer" authentication: cannot make "pg_ident.conf" work as I believe that the doc says that it should

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux