Re: pq_setkeepalives* functions

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pq_setkeepalives* functions
Date: 2010-03-13 15:35:50
Message-ID: 201003131535.o2DFZoK11359@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

PG East: http://www.enterprisedb.com/community/nav-pg-east-2010.do

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-03-13 16:24:30 Re: pq_setkeepalives* functions
Previous Message Bruce Momjian 2010-03-13 14:56:18 Re: Warning about invalid .pgpass passwords