Re: hba.c:3160:18: warning: comparison of unsigned enum expression

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Magnus Hagander <magnus@hagander.net>
Cc: Erik Rijkers <er@xs4all.nl>, Jacob Champion <pchampion@vmware.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2021-04-07T12:17:45Z
Lists: pgsql-hackers
On Wed, Apr 07, 2021 at 02:01:42PM +0200, Magnus Hagander wrote:
> That's very close to mine (see one email later). Let's bikeshed about
> the details. I think it's basically the same for current usecases, but
> that taking the UserAuth as the parameter is cleaner and potentially
> more useful for the future.

Missed it, sorry about that.  Using UserAuth as argument is fine by
me.  If you wish to apply that, please feel free.  I am fine to do
that myself, but that will have to wait until tomorrow my time.
--
Michael

Commits

  1. Refactor hba_authname

  2. Add some information about authenticated identity via log_connections