Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba - Mailing list pgsql-general

From Daniel Westermann (DWE)
Subject Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba
Date
Msg-id GV0P278MB04198D3BBE5F475C75D34C74D2542@GV0P278MB0419.CHEP278.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba
List pgsql-general
>> What we've found out so far is, that this only happens if we have a localhost(or any other hostname) line before the
linematching our connection, something like this: 
>> host    replication     xxxxx     localhost                md5
>> host    all             xxxxx     xx.xx.xx.0/24            md5

... which is quite hard to do if you don't know which one it will be

Regards
Daniel


pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba
Next
From: Ian J Cottee
Date:
Subject: Random memory related errors on live postgres 14.13 instance on Ubuntu 22.04 LTS