Re: pq_setkeepalives* functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pq_setkeepalives* functions
Date
Msg-id 2839.1268498661@sss.pgh.pa.us
Whole thread Raw
In response to Re: pq_setkeepalives* functions  (Bruce Momjian <bruce@momjian.us>)
Responses Re: pq_setkeepalives* functions
Re: pq_setkeepalives* functions
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Dyamic updates of NEW with pl/pgsql
Next
From: Merlin Moncure
Date:
Subject: Re: Dyamic updates of NEW with pl/pgsql