Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 76F3764FCC3 for ; Tue, 16 Sep 2008 09:02:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 18617-10 for ; Tue, 16 Sep 2008 09:02:03 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from postrelay.edis.at (postrelay.edis.at [81.223.48.30]) by postgresql.org (Postfix) with ESMTP id 10F4564FCF9 for ; Tue, 16 Sep 2008 09:02:03 -0300 (ADT) Received: from mailrelay.edis.at (postrelay [81.223.48.30]) by postrelay.edis.at (Postfix) with ESMTP id 6010F4017A9E for ; Tue, 16 Sep 2008 14:02:00 +0200 (CEST) Received: from localhost.localdomain ([::ffff:91.83.10.224]) (AUTH: CRAM-MD5 zb@cybertec.at, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mailrelay.edis.at with esmtp; Tue, 16 Sep 2008 14:01:59 +0200 id 0000000016007A8D.0000000048CFA037.0000362C Message-ID: <48CFA037.8020603@cybertec.at> Date: Tue, 16 Sep 2008 14:01:59 +0200 From: Zoltan Boszormenyi User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: sfrost@snowman.net, pgsql-odbc@postgresql.org CC: Tom Lane Subject: Re: psqlODBC and IPv6 References: <48CF52F4.6040206@cybertec.at> <20080916112701.GZ16005@tamriel.snowman.net> <48CF9B3A.6040308@cybertec.at> In-Reply-To: <48CF9B3A.6040308@cybertec.at> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/12 X-Sequence-Number: 9605 Zoltan Boszormenyi írta: > Stephen Frost írta: > >> * Zoltan Boszormenyi (zb@cybertec.at) wrote: >> >> >>> does anyone know why 08.03.0200 fixed connecting to a server >>> via an IPv6 socket? 08.03.0100 is in Fedora 9 and connection is >>> very unreliable: https://bugzilla.redhat.com/show_bug.cgi?id=462312 >>> >>> >> Have you considered that the version of libpq might be different? >> >> Thanks, >> >> Stephen >> >> > > No, I haven't because libpq is the same, i.e. the system > provided libpq.so.5.1 from PostgreSQL 8.3.3 in this case. > Only the psqlODBC version is different. > And psqlODBC was very vocal about rebasing itself to libpq > in the 08.xx.yyy series so it automagically gets new protocol > features/fixes. > "psql -h ::1 ..." works without any problem, > "isql MyDSN ..." is stable with psqlODBC 08.03.0200, > unstable with 08.03.0100. > I just tested 08.03.0100 compiled with the difference quoted in my original mail. That single change made it work reliably over IPv6. It must be a very subtle side-effect of that typo. -- ---------------------------------- Zoltán Böszörményi Cybertec Schönig & Schönig GmbH http://www.postgresql.at/