Re: Someone's broken psql's connection-failure error reporting - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Someone's broken psql's connection-failure error reporting
Date
Msg-id 200302140140.h1E1eb308213@candle.pha.pa.us
Whole thread Raw
In response to Re: Someone's broken psql's connection-failure error reporting  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Someone's broken psql's connection-failure error reporting
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: location of the configuration files
Next
From: Kevin Brown
Date:
Subject: Re: location of the configuration files