Re: hba.c:3160:18: warning: comparison of unsigned enum expression - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: hba.c:3160:18: warning: comparison of unsigned enum expression
Date
Msg-id CABUevEzyHd7_69oAKS3N5fUxnd2D0Ov2Pi5UY5bOt_LxskiCqA@mail.gmail.com
Whole thread Raw
In response to Re: hba.c:3160:18: warning: comparison of unsigned enum expression  (Michael Paquier <michael@paquier.xyz>)
Responses Re: hba.c:3160:18: warning: comparison of unsigned enum expression  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Wed, Apr 7, 2021 at 2:17 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> 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.

Ok, I'll go ahead and push it. Thanks for confirming the fix!

-- 
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



pgsql-hackers by date:

Previous
From: Erik Rijkers
Date:
Subject: Re: hba.c:3160:18: warning: comparison of unsigned enum expression
Next
From: Michael Paquier
Date:
Subject: Re: hba.c:3160:18: warning: comparison of unsigned enum expression