Re: pq_setkeepalives* functions
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Jaime Casanova <jcasanov@systemguards.com.ec>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-03-13T15:35:50Z
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@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com PG East: http://www.enterprisedb.com/community/nav-pg-east-2010.do