Re: 7.4 defaulting to ipv6 ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kar(at)kakidata(dot)dk
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.4 defaulting to ipv6 ?
Date: 2003-09-10 17:03:21
Message-ID: 8249.1063213401@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kaare Rasmussen <kar(at)kakidata(dot)dk> writes:
> Sorry if this is obvious to you, but it's not obvious to me.
> In 7.4 this
> psql -h 127.0.0.1 test and
> psql -h localhost test
> will be authenticated as ipv6 addresses.

Only if your libc and/or kernel preferentially treats them as ipv6.

CVS tip contains a fix to allow ipv4 addresses in pg_hba.conf to match
ipv4-mapped-to-v6 ipv6 connections; this should allow people to continue
believing they are using ipv4 even when their system is mapping to v6.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Ayers 2003-09-10 17:03:56 Re: Picture with Postgres and Delphi
Previous Message Richard Huxton 2003-09-10 17:03:13 Re: help with TCL function