From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Barry Bell <Barry.Bell@hartehanks.com>
Cc: PG User <pguser1982@gmail.com>
Cc: Hiroshi Saito <hiroshi@winpg.jp>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Cc: Pavel Raiskup <praiskup@redhat.com>
Subject: Re: support for keep alive option
Date: Wed, 08 Jan 2014 20:40:29 +0900
Message-ID: <52CD392D.80502@tpf.co.jp> (raw)
In-Reply-To: <52CD186E.3040504@vmware.com>
References: <CAB7tN8aQajh3=BRV_c5uChC3tZFcDmH_AMqrp1ysCBqtKkYVrw@mail.gmail.com>
<2a73781f8438463fa97c80ce9783f7c1@BY2PR08MB281.namprd08.prod.outlook.com>
<CAB7tN8bPUWg6ATqW5F5TCg+5O4ANsOYC6jyMKhhDuBR-JOBefA@mail.gmail.com>
<CAB7tN8YQzb-ToQw1zNCuUZJQGLgsJLW01LXX1Z2AfNfrW5tBpA@mail.gmail.com>
<69bb317d9eb844798f4a37d1e96c9455@BY2PR08MB281.namprd08.prod.outlook.com>
<52CC9246.6070908@tpf.co.jp>
<52CD186E.3040504@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
(2014/01/08 18:20), Heikki Linnakangas wrote:
> On 01/08/2014 01:48 AM, Inoue, Hiroshi wrote:
>> Hi Barry,
>>
>> Sorry for the late reply.
>>
>> (2014/01/02 23:02), Barry Bell wrote:
>>> Thanks, Alright with me to add the patch in
>>>
>>> But you may want to Hiroshi (He does the office and unofficial ODBC
>>> driver releases),
>>>
>>> Hiroshi, what do you think of this?
>>
>> OK I would introduce the functionality.
>
> I don't think it should be enabled by default. It's common to expose
> keepalive and other TCP settings as an option, like libpq does, but it's
> not usually enabled by default, and it might be an unwelcome surprise to
> some existing applications.
>
> In particular, if you have a dialup connection, you do *not* want an
> idle connection to keep sending periodic keep-alives, because keeping
> the connection open costs money. It's not as big a problem these days as
> it used to be, but still.
Libpq's keepalives option is on by default. So currently psqlodbc's
keepalive is enabled when libpq is used(in case ssl used etc) otherwise
it is disabled.
Though I am about to enable keepalive by default, I'm not sure which
should be the default.
regards,
Hiroshi Inoue
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, hlinnakangas@vmware.com, Barry.Bell@hartehanks.com, pguser1982@gmail.com, hiroshi@winpg.jp, praiskup@redhat.com
Subject: Re: support for keep alive option
In-Reply-To: <52CD392D.80502@tpf.co.jp>
References: <CAB7tN8aQajh3=BRV_c5uChC3tZFcDmH_AMqrp1ysCBqtKkYVrw@mail.gmail.com> <2a73781f8438463fa97c80ce9783f7c1@BY2PR08MB281.namprd08.prod.outlook.com> <CAB7tN8bPUWg6ATqW5F5TCg+5O4ANsOYC6jyMKhhDuBR-JOBefA@mail.gmail.com> <CAB7tN8YQzb-ToQw1zNCuUZJQGLgsJLW01LXX1Z2AfNfrW5tBpA@mail.gmail.com> <69bb317d9eb844798f4a37d1e96c9455@BY2PR08MB281.namprd08.prod.outlook.com> <52CC9246.6070908@tpf.co.jp> <52CD186E.3040504@vmware.com> <52CD392D.80502@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox