Re: BUG #15478: 配置文件 pg_hba.conf 异常

From: Wèi Cōngruì <crvv(dot)mail(at)gmail(dot)com>
To: dongjiu8816(at)hotmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15478: 配置文件 pg_hba.conf 异常
Date: 2018-11-02 09:45:59
Message-ID: CAPxZtjHuKoXuONKBjJ7bpU2ezCeD3qtgLzfUNKM2KPgm1esUHw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

This is not a bug.

The default host of psql is localhost.
localhost can be resolved to ::1, which is an IPv6 address.

If you only update the IPv4 config, I guess you can use psql
-h127.0.0.1 to connect to the database.

Please don't send email to me and use "reply to all" in mailing lists.

On Fri, Nov 2, 2018 at 9:08 AM 汪 枫 <dongjiu8816(at)hotmail(dot)com> wrote:
>
> I'sorry,i have errors in my words.I mean that,if we want to login the postgresql database without password,we should modify the ipv4 configuration of pg_hba.conf to trust,but in fact,i find that only modify the ipv6 configuration of pg_hba.conf to trust i can login without password.Obviously,it is unreasonable.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-11-02 10:37:54 BUG #15484: Comment on BUG report BUG #15450: postgis 2.4 and postgis 2.5 extention not properly built
Previous Message PG Bug reporting form 2018-11-02 09:03:09 BUG #15483: Installation pgadmin4 on Fedora 29