> Bruce Momjian <[EMAIL PROTECTED]> 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
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Reply via email to