X-Original-To: pgsql-hackers-win32-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F171852A36 for ; Tue, 16 Aug 2005 16:32:19 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80612-03 for ; Tue, 16 Aug 2005 19:32:16 +0000 (GMT) Received: from trolak.mydnsbox2.com (ns1.mydnsbox2.com [207.44.142.118]) by svr1.postgresql.org (Postfix) with ESMTP id 07EF8529D1 for ; Tue, 16 Aug 2005 16:32:15 -0300 (ADT) Received: from [192.168.1.103] (cpe-024-211-165-134.nc.res.rr.com [24.211.165.134]) (authenticated (0 bits)) by trolak.mydnsbox2.com (8.11.6/8.11.6) with ESMTP id j7GIlUv01238; Tue, 16 Aug 2005 13:47:31 -0500 Message-ID: <43023F35.8060304@dunslane.net> Date: Tue, 16 Aug 2005 15:32:05 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050719 Fedora/1.7.10-1.3.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Solange Cc: pgsql-hackers-win32 Subject: Re: [PATCHES] PostgreSQL 8.0.3 and Ipv6 References: <001501c5a295$6eb13060$05f8a3c8@assistente> In-Reply-To: <001501c5a295$6eb13060$05f8a3c8@assistente> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 required=5 tests=[AWL=0.050] X-Spam-Level: X-Archive-Number: 200508/29 X-Sequence-Number: 3341 [moving lists] First, this question should not be on the -patches list. Please read the mailing list descriptions carefully before posting and use the right one - in this case probably the -hackers-win32 list. IPv6 is a build time setting, and it appears that the current build environment used for Windows (or at least mine) does not support IPv6. It looks for struct sockaddr_in6 and fails to find it, apparently. In fact, I am surprised that your postmaster doesn't complain if you put an IPv6 address in pg_hba.conf. cheers andrew Solange wrote: > Hi, I am with problems to function postgreSQL 8.0.3 in > windows XP with the Ipv6 protocol. I try to have access the > bank in the following way: > > psql -h ::1 -d db_teste -u postgres > > but it gives an error: could not translate ::1: Unknown host. > already I configured the archive pg_hba.conf so that it has > accepted address::1 of ipv6. My machine is effecting ping6 in > ::1 and my apache server also is functioning in ipv6. I made > everything what it said in the manual. > > My question is the following one: PostgreSQL does not function in > windows XP > with the Ipv6 protocol, or has that to configure plus some > thing? Or It only functions in linux? > Necessary of some patch so that it functions in windows Xp?