From: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> |
---|---|
To: | Fujii Masao <fujii(at)postgresql(dot)org>, pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | Re: pgsql: postgres_fdw: Add functions to discard cached connections. |
Date: | 2021-01-26 07:05:16 |
Message-ID: | 68802f97-4eaf-ff8e-be3e-698cd4d50d28@oss.nttdata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2021-01-26 07:37:12 | pgsql: postgres_fdw: Stabilize regression test for postgres_fdw_disconn |
Previous Message | Fujii Masao | 2021-01-26 06:37:07 | pgsql: postgres_fdw: Add functions to discard cached connections. |