Re: Someone's broken psql's connection-failure error reporting

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Someone's broken psql's connection-failure error reporting
Date: 2003-02-14 01:40:37
Message-ID: 200302140140.h1E1eb308213@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> Speculation time: do you have the IPv6 code compiled in? I don't.
>
> > I have IPv6 enabled in the binary, but not the kernel.
>
> Sure enough, the IPV6 patch had broken error handling in the non-IPV6
> path.
>
> I've done a little bit of cleanup, but that code is still a mess...
> someone should rewrite these routines.

Yes, I looked at it and struggled to get both IPv4 and IPv6 cleanly
working. Any ideas on how to improve it?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Brown 2003-02-14 01:47:11 Re: location of the configuration files
Previous Message Lamar Owen 2003-02-14 01:39:13 Re: location of the configuration files