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

IPv6 connection

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: IPv6 connection
Date: 2010-01-11 22:31:45
Message-ID: 4B4BA6D1.1050001@lelarge.info (view raw or flat)
Thread:
Lists: pgadmin-hackers
Hi,

pgAdmin 1.10 (and earlier) will throw an error if a user tries to
connect to an IPv6 address (for example ::1, which is IPv6 localhost).

This patch fixes this issue on Linux (and probably Mac). But it just
doesn't compile on Windows. Any ideas on a fix for Windows?

Actually, I'm wondering why we try to resolve the hostname on pgAdmin.
libpq already does this. Can't we just push the string to libpq and let
it resolve the string address? it would be a more simple fix for our issue.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Attachment: ticket37_v1.patch
Description: text/x-patch (2.3 KB)

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2010-01-12 06:00:31
Subject: Re: IPv6 connection
Previous:From: pgAdmin TracDate: 2010-01-10 17:18:57
Subject: Re: [pgAdmin III] #125: PgAdmin not displaying typmod column types correctly in create or display

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