Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba

From: "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba
Date: 2024-10-30 07:10:15
Message-ID: GV0P278MB04198D3BBE5F475C75D34C74D2542@GV0P278MB0419.CHEP278.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 line matching 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ian J Cottee 2024-10-30 07:34:03 Random memory related errors on live postgres 14.13 instance on Ubuntu 22.04 LTS
Previous Message Laurenz Albe 2024-10-30 06:24:06 Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba