Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhN1G-00029k-Eo for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Aug 2017 21:35:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dhN1F-0007b0-TF for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Aug 2017 21:35:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhMzg-0003p6-Nd for pgsql-hackers@postgresql.org; Mon, 14 Aug 2017 21:33:52 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhMze-0006c6-5C for pgsql-hackers@postgresql.org; Mon, 14 Aug 2017 21:33:51 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 648B320BBD; Mon, 14 Aug 2017 17:33:49 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Mon, 14 Aug 2017 17:33:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=O695WwzKwNwIRgiNFoQbX/fS4q+AqDT3vPuoQ4OmzlQ=; b=BjE2Obs/ 9qSd0HHLdSOpfixJ71jabroOC3q4Xx9Az96kYADc6MoRVQ/sKgiRHl7gyi9gfEwh A7EGSAAHyepOBOJ9urWthFX32dECcEyTMJ6Y9Jimt/7gWiaUduJJMUP0gQl/vWlg fkNGsvWxoffAH8jtVx9BQhdZ0Hm0ECfHc34J7JuPtHLvRUT+14Oh3XsgHa8+e4IS myzQ2S3/EV+uw89dx5udF1A5eJsXMN5Ib5UDvk/jJZkE2GpxlJ5Cm4EqLUo/mt8X Tk0rbmghQlrOQyBS8TVKY4ThPOI8Yp8iwNEytqc+VSv3sairqFM10yVn/8QbbeIS Dd8Lu5UQj88aIg== X-ME-Sender: X-Sasl-enc: FMwvAIYcO1mqGVMydg2yuAGwh1/yicdS0P4OuEB+C+L9 1502746429 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 00E8E241D1; Mon, 14 Aug 2017 17:33:48 -0400 (EDT) Subject: Re: Protect syscache from bloating with negative cache entries To: Kyotaro HORIGUCHI , Jim.Nasby@BlueTreble.com References: <20161226.173147.73783918.horiguchi.kyotaro@lab.ntt.co.jp> <21803f50-a823-c444-ee2b-9a153114f454@BlueTreble.com> <20170124.165852.78455792.horiguchi.kyotaro@lab.ntt.co.jp> Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, craig@2ndquadrant.com, pgsql-hackers@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <09fa011f-4536-b05d-0625-11f3625d8332@2ndquadrant.com> Date: Mon, 14 Aug 2017 17:33:48 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170124.165852.78455792.horiguchi.kyotaro@lab.ntt.co.jp> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 On 1/24/17 02:58, Kyotaro HORIGUCHI wrote: >> BTW, if you set a slightly larger >> context size on the patch you might be able to avoid rebases; right >> now the patch doesn't include enough context to uniquely identify the >> chunks against cacheinfo[]. > git format-patch -U5 fuses all hunks on cacheinfo[] together. I'm > not sure that such a hunk can avoid rebases. Is this what you > suggested? -U4 added an identifiable forward context line for > some elements so the attached patch is made with four context > lines. This patch needs another rebase for the upcoming commit fest. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers