Re: Ipv6 network cleanup patch #2. - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Ipv6 network cleanup patch #2.
Date
Msg-id 200306120730.h5C7UYI19098@candle.pha.pa.us
Whole thread Raw
In response to Re: Ipv6 network cleanup patch #2.  (Kurt Roeckx <Q@ping.be>)
List pgsql-patches
Patch applied.

I had to adjust a few places. I had to change:

    if (port->raddr.sa.sa_family == AF_UNIX)

to:

    if (port->raddr.addr.ss_family == AF_UNIX)

I saw other such changes in the patch, so I assume it is correct.

---------------------------------------------------------------------------

Kurt Roeckx wrote:
> On Fri, Jun 06, 2003 at 01:41:30PM -0400, Bruce Momjian wrote:
> >
> > I will apply this patch with the adjustments mentioned in later emails.
> > I will post the final version when I apply it.
> >
> > Your patch has been added to the PostgreSQL unapplied patches list at:
> >
> >     http://momjian.postgresql.org/cgi-bin/pgpatches
> >
> > I will try to apply it within the next 48 hours.
>
> I've made an updated patch since Tom Lane seem to have changed some
> code that affects my patch.
>
> Changes since last time:
> - Use closesocket() everywhere now, instead of only a few places.
> - Removed part of the getaddrinfo_unix fix that Tom Lane already
>   changed.  He didn't fix the possible mem leak of the case
>   strlen(path) >= sizeof(unp->sun_path).
> - He also rewrote connectDBStart() for asynch connections, so I
>   had to move my changes a little bit.
>
>
>
> Kurt
>

[ Attachment, skipping... ]

--
  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, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: CIDR addresses in pg_hba.conf
Next
From: Bruce Momjian
Date:
Subject: Re: Ipv6 network cleanup patch #2.