> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > + if (conn->pghostaddr && conn->pghostaddr[0] == '/')
> > + {
> > + if (conn->pgunixsocket)
> > + free(conn->pgunixsocket);
> > + conn->pgunixsocket = conn->pghostaddr;
> > + conn->pghostaddr = NULL;
> > + }
>
> I would be inclined to think you should NOT look for a path in
> pghostaddr, since my understanding is that that's supposed to be a
> numeric IP address and nothing but. Otherwise this looks pretty
> reasonable.
Fixed. Thanks.
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026