Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] PostgreSQL 8.0.3 and Ipv6

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Petr Jelinek <pjmodos(at)seznam(dot)cz>,Magnus Hagander <mha(at)sollentuna(dot)net>, voss(at)arnet(dot)com(dot)br,Chuck McDevitt <cmcdevitt(at)greenplum(dot)com>,"Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] PostgreSQL 8.0.3 and Ipv6
Date: 2005-08-22 00:08:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches

Tom Lane wrote:

>Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>>The one place that very slightly bothers me is the ::1 line in 
>>pg_hba.conf.  The fact that it comes last in the default config is its 
>>saving grace - it won't ever be reached by a passing connection. I think 
>>at least, though, we should put a warning comment line in front of it, 
>If you like, you can improve initdb to comment that line out if
>getaddrinfo chokes on "::1", rather than believing HAVE_IPV6.

Good idea. Here's a patch for that. Rather than commenting it out I used 
the slightly newer initdb facility to remove it and the associated 
comment line altogether.

Passes "make check" on my linux box.



Attachment: initdb-ip6.patch
Description: text/x-patch (3.6 KB)

In response to


pgsql-hackers by date

Next:From: Jim C. NasbyDate: 2005-08-22 00:27:35
Subject: Re: Simplifying wal_sync_method
Previous:From: Satoshi NagayasuDate: 2005-08-22 00:01:13
Subject: Pre-allocated free space for row updating (like PCTFREE)

pgsql-patches by date

Next:From: Greg Sabino MullaneDate: 2005-08-22 00:27:18
Subject: Re: PL/Perl embedding string common elements
Previous:From: Andrew DunstanDate: 2005-08-22 00:08:11
Subject: Re: PL/Perl embedding string common elements

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group