From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: postgres_fdw: Add functions to discard cached connections.
Date: Tue, 26 Jan 2021 16:05:16 +0900
Message-ID: <68802f97-4eaf-ff8e-be3e-698cd4d50d28@oss.nttdata.com> (raw)
In-Reply-To: <E1l4HyN-0001wS-6Q@gemulon.postgresql.org>
References: <E1l4HyN-0001wS-6Q@gemulon.postgresql.org>
On 2021/01/26 15:37, Fujii Masao wrote:
> postgres_fdw: Add functions to discard cached connections.
>
> This commit introduces two new functions postgres_fdw_disconnect()
> and postgres_fdw_disconnect_all(). The former function discards
> the cached connections to the specified foreign server. The latter discards
> all the cached connections. If the connection is used in the current
> transaction, it's not closed and a warning message is emitted.
>
> For example, these functions are useful when users want to explicitly
> close the foreign server connections that are no longer necessary and
> then to prevent them from eating up the foreign servers connections
> capacity.
Hmm... this commit causes the buildfarm members to fail.
I'm looking at the issue.
Regards.
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
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-committers@postgresql.org
Cc: masao.fujii@oss.nttdata.com, fujii@postgresql.org
Subject: Re: pgsql: postgres_fdw: Add functions to discard cached connections.
In-Reply-To: <68802f97-4eaf-ff8e-be3e-698cd4d50d28@oss.nttdata.com>
References: <E1l4HyN-0001wS-6Q@gemulon.postgresql.org> <68802f97-4eaf-ff8e-be3e-698cd4d50d28@oss.nttdata.com>
* 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