Re: equivalent to "replication_timeout" on standby server

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Samba <saasira(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: equivalent to "replication_timeout" on standby server
Date: 2011-11-04 01:55:58
Message-ID: CAHGQGwF-MmK9sLZTCu715KO4i+fKuhJJDb9sP93j97SrkYQEZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Nov 3, 2011 at 12:25 AM, Samba <saasira(at)gmail(dot)com> wrote:
> The postgres manual explains the "replication_timeout" to be used to
>
> "Terminate replication connections that are inactive longer than the
> specified number of milliseconds. This is useful for the primary server to
> detect a standby crash or network outage"
>
> Is there a similar configuration parameter that helps the WAL receiver
> processes to terminate the idle connections on the standby servers?

No.

But setting keepalive libpq parameters in primary_conninfo might be useful
to detect the termination of connection from the standby server.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kurt Buff 2011-11-04 03:21:25 Re: Recommendations for SSDs in production?
Previous Message Benjamin Smith 2011-11-03 23:15:53 Re: Recommendations for SSDs in production?