Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQcTE-0007kM-4n for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Jul 2016 15:34:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bQcTD-0004J6-OM for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Jul 2016 15:34:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bQcRr-0002oG-Lz for pgsql-hackers@postgresql.org; Fri, 22 Jul 2016 15:33:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bQcRo-0005eL-NA for pgsql-hackers@postgresql.org; Fri, 22 Jul 2016 15:33:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u6MFX3NJ029862; Fri, 22 Jul 2016 11:33:04 -0400 From: Tom Lane To: Etsuro Fujita cc: Ashutosh Bapat , pgsql-hackers Subject: Re: Oddity in handling of cached plans for FDW queries In-reply-to: References: <6085.1468513930@sss.pgh.pa.us> <10736.1468522173@sss.pgh.pa.us> <122d7752-7fe4-f561-4348-34b398d46ec1@lab.ntt.co.jp> <2270.1468550932@sss.pgh.pa.us> <28ab7288-84f5-aab4-3ef7-cf1ca6e9a291@lab.ntt.co.jp> <23274.1468589754@sss.pgh.pa.us> <8993.1468617909@sss.pgh.pa.us> <9b21f8e3-13c7-5b9a-7f35-edddef21c181@lab.ntt.co.jp> Comments: In-reply-to Etsuro Fujita message dated "Fri, 22 Jul 2016 12:41:06 +0900" Date: Fri, 22 Jul 2016 11:33:03 -0400 Message-ID: <29861.1469201583@sss.pgh.pa.us> X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Etsuro Fujita writes: > On 2016/07/21 16:30, Etsuro Fujita wrote: >> One thing I'd like to discuss is GetUserMappingById/GetUserMappingId. >> Though those functions aren't used in any places, I didn't take them >> out, because I thought somebody else would need them someday. But >> considering that user mapping OIDs now aren't available in RelOptInfos, >> at least the former might be rather useless. Should we keep them in core? > I thought a bit more about this. ISTM that there isn't much value in > the latter either, because we can use GetUserMapping and get that OID > from the result, instead of using the latter, so I'd vote for removing > those functions. Attached is a patch for that. Agreed - pushed. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers