Re: pq_setkeepalives* functions - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pq_setkeepalives* functions
Date
Msg-id 201003131535.o2DFZoK11359@momjian.us
Whole thread Raw
In response to pq_setkeepalives* functions  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Responses Re: pq_setkeepalives* functions
List pgsql-hackers
Jaime Casanova wrote:
> Hi,
> 
> In 2 of 3 pq_setkeepalives* functions we have the #DEFINE involving
> even this conditional:
> """
>     if (port == NULL || IS_AF_UNIX(port->laddr.addr.ss_family))
>         return STATUS_OK;
> """
> 
> but in pq_setkeepalivesinterval() the #DEFINE is after the
> conditional, doesn't seems to affect anything but for consistency with
> the other two :)
> 

Thanks, applied.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 PG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Warning about invalid .pgpass passwords
Next
From: Tom Lane
Date:
Subject: Re: pq_setkeepalives* functions