pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: Zhihong Yu <zyu@yugabyte.com>
Cc: Alexey Kondratov <a.kondratov@postgrespro.ru>
Cc: Hou, Zhijie <houzj.fnst@cn.fujitsu.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit
Date: Tue, 26 Jan 2021 16:24:43 +0900
Message-ID: <1b4d7c4f-a9f9-08f0-295d-de6ec0d5def5@oss.nttdata.com> (raw)
In-Reply-To: <2147113.1611644754@sss.pgh.pa.us>
References: <CALj2ACVvrp5=AVp2PupEm+nAC8S4buqR3fJMmaCoc7ftT0aD2A@mail.gmail.com>
	<CALj2ACVcpU=wB7G=zT8msVHvPs0-y0BbviupiT+f3--bGYaOMA@mail.gmail.com>
	<646119f3-fd27-7fd7-5377-b72310af5d21@oss.nttdata.com>
	<62431587-ed3a-f333-51a9-967ccf2a78db@oss.nttdata.com>
	<CALj2ACWFrQAQGSQfaa-rY0YwY3yicqiPELN7tuN9T05uPDnzeg@mail.gmail.com>
	<1c643738-6e52-565d-0261-740d490b550e@oss.nttdata.com>
	<CALj2ACWG6Cqy1Ye5WYEhK3YnBURKk7QsXXmVpPK1xVPwcj7cyw@mail.gmail.com>
	<09b3f740-896d-7507-95e1-d2afd87daf2e@oss.nttdata.com>
	<CALj2ACUJtiCjnqcfQDT5q0C7O=PanN_rtgjkuh7mMh4uuzXf7w@mail.gmail.com>
	<64ee084b-1368-e044-debd-69cc156276c6@oss.nttdata.com>
	<CALj2ACXGwV=qTzZ+ELo+tKR9pUb52r+CFVah4hpBwGViGPMOig@mail.gmail.com>
	<CALj2ACVr+vo+D46uLEATX5fVFPCQRiuKRydxnSy7E6ZwUzBT=w@mail.gmail.com>
	<39259f30-897c-ceaf-8a1e-78fe2db398cb@oss.nttdata.com>
	<CALj2ACUwqO74-amff63Lr1VU1F7WrWEK_28+iT_Ubf8htjZzLg@mail.gmail.com>
	<2f66a719-4ba6-2772-8762-9928788c6e50@os! s.nttdata.com>
	<2147113.1611644754@sss.pgh.pa.us>



On 2021/01/26 16:05, Tom Lane wrote:
> Fujii Masao <masao.fujii@oss.nttdata.com> writes:
>> Thanks for the review! I fixed them and pushed the patch!
> 
> Buildfarm is very not happy ...

Yes.... I'm investigating that.

  -- Return false as connections are still in use, warnings are issued.
  SELECT postgres_fdw_disconnect_all();
-WARNING:  cannot close dropped server connection because it is still in use
-WARNING:  cannot close connection for server "loopback" because it is still in use
  WARNING:  cannot close connection for server "loopback2" because it is still in use
+WARNING:  cannot close connection for server "loopback" because it is still in use
+WARNING:  cannot close dropped server connection because it is still in use

The cause of the regression test failure is that the order of warning messages
is not stable. So I'm thinking to set client_min_messages to ERROR temporarily
when doing the above test.

Regards,


-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION





view thread (175+ messages)  latest in thread

Message-ID: <1b4d7c4f-a9f9-08f0-295d-de6ec0d5def5@oss.nttdata.com>
Permalink:  ../1b4d7c4f-a9f9-08f0-295d-de6ec0d5def5@oss.nttdata.com/
Also on:    postgresql.org/message-id/1b4d7c4f-a9f9-08f0-295d-de6ec0d5def5@oss.nttdata.com

 · 

reply

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-hackers@postgresql.org
  Cc: masao.fujii@oss.nttdata.com, tgl@sss.pgh.pa.us, bharath.rupireddyforpostgres@gmail.com, zyu@yugabyte.com, a.kondratov@postgrespro.ru, houzj.fnst@cn.fujitsu.com
  Subject: Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit
  In-Reply-To: <1b4d7c4f-a9f9-08f0-295d-de6ec0d5def5@oss.nttdata.com>
  References: <CALj2ACVvrp5=AVp2PupEm+nAC8S4buqR3fJMmaCoc7ftT0aD2A@mail.gmail.com> <CALj2ACVcpU=wB7G=zT8msVHvPs0-y0BbviupiT+f3--bGYaOMA@mail.gmail.com> <646119f3-fd27-7fd7-5377-b72310af5d21@oss.nttdata.com> <62431587-ed3a-f333-51a9-967ccf2a78db@oss.nttdata.com> <CALj2ACWFrQAQGSQfaa-rY0YwY3yicqiPELN7tuN9T05uPDnzeg@mail.gmail.com> <1c643738-6e52-565d-0261-740d490b550e@oss.nttdata.com> <CALj2ACWG6Cqy1Ye5WYEhK3YnBURKk7QsXXmVpPK1xVPwcj7cyw@mail.gmail.com> <09b3f740-896d-7507-95e1-d2afd87daf2e@oss.nttdata.com> <CALj2ACUJtiCjnqcfQDT5q0C7O=PanN_rtgjkuh7mMh4uuzXf7w@mail.gmail.com> <64ee084b-1368-e044-debd-69cc156276c6@oss.nttdata.com> <CALj2ACXGwV=qTzZ+ELo+tKR9pUb52r+CFVah4hpBwGViGPMOig@mail.gmail.com> <CALj2ACVr+vo+D46uLEATX5fVFPCQRiuKRydxnSy7E6ZwUzBT=w@mail.gmail.com> <39259f30-897c-ceaf-8a1e-78fe2db398cb@oss.nttdata.com> <CALj2ACUwqO74-amff63Lr1VU1F7WrWEK_28+iT_Ubf8htjZzLg@mail.gmail.com> <2147113.1611644754@sss.pgh.pa.us> <1b4d7c4f-a9f9-08f0-295d-de6ec0d5def5@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