Re: pq_setkeepalives* functions
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Jaime Casanova <jcasanov@systemguards.com.ec>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-03-13T16:44:21Z
Lists: pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes: > Tom Lane wrote: >> This makes the function *not* like the other two, rather than >> improving consistency. > Well, it makes it like some of the existing functions, but not like > others. This applied patch fixes them all. This is making things worse, not better. You have just changed the behavior, and not in a good way. Formerly these were no-ops on a unix socket connection, and now they can throw errors. regards, tom lane