BUG #17283: localhost should also include IPv6 - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17283: localhost should also include IPv6
Date
Msg-id 17283-ad8b80401ffe779e@postgresql.org
Whole thread Raw
Responses Re: BUG #17283: localhost should also include IPv6
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17283
Logged by:          treysis
Email address:      treysis@gmx.net
PostgreSQL version: 14.1
Operating system:   Windows and Linux
Description:

Currently, PostgreSQL defaults to listen on 'localhost', which translates to
single-stack IPv4 loopback address 127.0.0.1. However, IPv6 is more and more
prevalent, not everything support happy eyeballs. Therefor, when no
listen_addresses are specified and/or if localhost is specified, this should
not default to 127.0.0.1, but instead to '127.0.0.1, ::1' to make PostreSQL
listen both on IPv4 and IPv6 loopback interfaces.

This especially fixes issues with the latest NodeJS v17.


pgsql-bugs by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: BUG #17255: Server crashes in index_delete_sort_cmp() due to race condition with vacuum
Next
From: Andres Freund
Date:
Subject: Re: BUG #17255: Server crashes in index_delete_sort_cmp() due to race condition with vacuum