Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1kAF-0004rA-Bx for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Jan 2021 06:06:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l1kAE-00007I-8c for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Jan 2021 06:06:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1kAE-0008UH-1w for pgsql-hackers@lists.postgresql.org; Tue, 19 Jan 2021 06:06:50 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1kAA-0001zg-Og for pgsql-hackers@lists.postgresql.org; Tue, 19 Jan 2021 06:06:48 +0000 Received: from hnk.local (p2388216-ipbf1027funabasi.chiba.ocn.ne.jp [118.6.6.216]) by oss.nttdata.com (Postfix) with ESMTPSA id 026A662796; Tue, 19 Jan 2021 15:06:40 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at oss.nttdata.com Subject: Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit To: "Hou, Zhijie" Cc: PostgreSQL Hackers , Zhihong Yu , Alexey Kondratov , Bharath Rupireddy References: <55bd82c5-d133-6fbb-f1f4-e25c1509c96e@oss.nttdata.com> <8ec46200-4e34-556c-f7cd-476255aa5419@oss.nttdata.com> <81e295dd-2abb-1e52-4172-94f3c8ca2807@oss.nttdata.com> <5711e3e0-f838-b9a1-f383-ea37c70339dc@oss.nttdata.com> <51cbab134f674de9babb0eefdacee3bf@G08CNEXMBPEKD05.g08.fujitsu.local> From: Fujii Masao Message-ID: Date: Tue, 19 Jan 2021 15:06:40 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <51cbab134f674de9babb0eefdacee3bf@G08CNEXMBPEKD05.g08.fujitsu.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2021/01/19 9:53, Hou, Zhijie wrote: >>>>> +1 to add it after "dropped (Note ........)", how about as follows >>>>> with slight changes? >>>>> >>>>> dropped (Note that server name of an invalid connection can be NULL >>>>> if the server is dropped), and then such ..... >>>> >>>> Yes, I like this one. One question is; "should" or "is" is better >>>> than "can" in this case because the server name of invalid connection >>>> is always NULL when its server is dropped? >>> >>> I think "dropped (Note that server name of an invalid connection will >>> be NULL if the server is dropped), and then such ....." >> >> Sounds good to me. So patch attached. > > +1 Thanks! I pushed the patch. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION