pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15478: 配置文件 pg_hba.conf 异常
3+ messages / 2 participants
[nested] [flat]

* BUG #15478: 配置文件 pg_hba.conf 异常
@ 2018-11-01 07:12  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 2 replies; 3+ messages in thread

From: PG Bug reporting form @ 2018-11-01 07:12 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: dongjiu8816@hotmail.com

The following bug has been logged on the website:

Bug reference:      15478
Logged by:          newzero
Email address:      dongjiu8816@hotmail.com
PostgreSQL version: 11.0
Operating system:   windows 10
Description:        

# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
如果需要本地免密码登录,只需要修改 ipv4 对应配置为 trust 即可,但实际中发现无效,只有修改 ipv4 对应配置为 trust
才可以,请核实。



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

*  Re: BUG #15478: 配置文件 pg_hba.conf 异常
@ 2018-11-01 09:30  Wèi Cōngruì <crvv.mail@gmail.com>
  parent: PG Bug reporting form <noreply@postgresql.org>
  1 sibling, 0 replies; 3+ messages in thread

From: Wèi Cōngruì @ 2018-11-01 09:30 UTC (permalink / raw)
  To: dongjiu8816@hotmail.com; pgsql-bugs@lists.postgresql.org

I am a native Chinese speaker, but I can't understand what you mean.
Obviously there are some errors in your words, please check.
On Thu, Nov 1, 2018 at 3:13 PM PG Bug reporting form
<noreply@postgresql.org> wrote:
>
> The following bug has been logged on the website:
>
> Bug reference:      15478
> Logged by:          newzero
> Email address:      dongjiu8816@hotmail.com
> PostgreSQL version: 11.0
> Operating system:   windows 10
> Description:
>
> # IPv4 local connections:
> host    all             all             127.0.0.1/32            md5
> # IPv6 local connections:
> host    all             all             ::1/128                 md5
> 如果需要本地免密码登录,只需要修改 ipv4 对应配置为 trust 即可,但实际中发现无效,只有修改 ipv4 对应配置为 trust
> 才可以,请核实。
>




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

*  Re: BUG #15478: 配置文件 pg_hba.conf 异常
@ 2018-11-02 09:45  Wèi Cōngruì <crvv.mail@gmail.com>
  parent: PG Bug reporting form <noreply@postgresql.org>
  1 sibling, 0 replies; 3+ messages in thread

From: Wèi Cōngruì @ 2018-11-02 09:45 UTC (permalink / raw)
  To: dongjiu8816@hotmail.com; pgsql-bugs@lists.postgresql.org

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@hotmail.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.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2018-11-02 09:45 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-11-01 07:12 BUG #15478: 配置文件 pg_hba.conf 异常 PG Bug reporting form <noreply@postgresql.org>
2018-11-01 09:30 ` Wèi Cōngruì <crvv.mail@gmail.com>
2018-11-02 09:45 ` Wèi Cōngruì <crvv.mail@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox