Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHTF7-0007Eg-H4 for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Oct 2018 12:35:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gHTF4-0001aO-UC for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Oct 2018 12:35:30 +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.89) (envelope-from ) id 1gHTF4-0001ZI-Im for pgsql-hackers@lists.postgresql.org; Tue, 30 Oct 2018 12:35:30 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gHTF1-0005Ry-TX for pgsql-hackers@postgresql.org; Tue, 30 Oct 2018 12:35:30 +0000 Received: by mail-wm1-x343.google.com with SMTP id p2-v6so11136125wmc.2 for ; Tue, 30 Oct 2018 05:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=nBquMq1UwVjuWqnJQJcfcy8f+Oyf4C6CdUNZstuXQEM=; b=OfO1HKMlvJ+T1TnqBCdDhh1cNQoglSU1djjdPGc8A76CMPSTNwkX5PbSgdFa3cezjm KFTZ8t50c0FrAVyLj525d9ocanHlyE8pwhYq9kTptHYAd+eTD94rDk5YA18MHzAUPS5b 2cmTCpy0lPxcVTMqbYnV5rUX83OZ/LXPRwx7qGfQOJE+KszcqXymncg5+Jg/yl+m2DQT UbMxTr4n7ruv9leGF337OGuWfXvoOGCtSiQNVgoak7QQNW59+wEXShKZx0u0z4IQ61Gu 75J2Wuv98r8uy3SU8+1cVFSFLnp8jhpqdUcJIZQNIcrMLD9p1VarMY6/3+rs/TqALZGq U1Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nBquMq1UwVjuWqnJQJcfcy8f+Oyf4C6CdUNZstuXQEM=; b=sozwSZ05ZkML9S7HJmQ1IP0gZgU7ut6XCZETo0Vayk/vZs5c7tr4RwlS1GQOZZhvC/ FiiDZsHgGanbWNoCEzQI4v0be9HsoFAGXbDGcGnPmML7/D+wdR8natWdk+vQgmWrXPfG 4gN/suFEIZEQ0W5yxWZ2mjmmGniuBfOK/oSyDPf1C1gFaengAWgCQB+aQNNzFin3n2rk VsZ8Aay54WOt68YZHgL1BXylp2283stLD7lavC1sUoNOKXt7ehDE0nrgL7JM5XVueqHH C3alH2ESJ7nwbyfaJWXJK+dWM/W1wwC9pdkZucxDfd1I2Hhf8Uc2HAj5ztvbizy6pvlG wo5A== X-Gm-Message-State: AGRZ1gIlooMc/O9/Cm6skj/JbuI2wy+j/Vlt0x7O82qpl/g2FAwY1zm3 9aIpx7o0HspPGqPIOJifJZmX5kmsZ8KGl070lTVQtxB3lrWhINsvMoJclqXHEqdQBOrfxFAdhWB aqQt5kmMskGr81Yfj5e32KmzEQvGh0AAjKSXlldbYpxV40FlGMEDb4fyM/z03q01mve2GLKakYh f3q8RUIR+lC1U= X-Google-Smtp-Source: AJdET5fsuaxVH/hPOr5lRCErYGTnYRIqn3cI6JDyM6lB37GIVlE+nS60J8W6Vw78dgUgSCphxfsngA== X-Received: by 2002:a1c:c1cd:: with SMTP id r196-v6mr116552wmf.84.1540902926467; Tue, 30 Oct 2018 05:35:26 -0700 (PDT) Received: from [10.137.2.19] (ip-86-49-245-152.net.upcbroadband.cz. [86.49.245.152]) by smtp.gmail.com with ESMTPSA id 193-v6sm2122000wmp.48.2018.10.30.05.35.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 05:35:25 -0700 (PDT) Subject: Re: shared-memory based stats collector To: Kyotaro HORIGUCHI , andres@anarazel.de Cc: ah@cybertec.at, magnus@hagander.net, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org References: <20180926.095509.182252925.horiguchi.kyotaro@lab.ntt.co.jp> <20180927.220049.168546206.horiguchi.kyotaro@lab.ntt.co.jp> <20181002.160651.117284090.horiguchi.kyotaro@lab.ntt.co.jp> <20181005.173017.151015949.horiguchi.kyotaro@lab.ntt.co.jp> From: Tomas Vondra Message-ID: Date: Tue, 30 Oct 2018 13:35:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20181005.173017.151015949.horiguchi.kyotaro@lab.ntt.co.jp> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/05/2018 10:30 AM, Kyotaro HORIGUCHI wrote: > Hello. > > At Tue, 02 Oct 2018 16:06:51 +0900 (Tokyo Standard Time), Kyotaro HORIGUCHI wrote in <20181002.160651.117284090.horiguchi.kyotaro@lab.ntt.co.jp> >> It doesn't work nor even compile since I failed to include some >> changes. The atached v6-0008 at least compiles and words. >> >> 0001-0007 are not attached since they are still aplicable on >> master head with offsets. > > In this patchset 0001-0007 are still the same with the previous > version. I'll reorganize the whole patchset in the next version. > > This is more saner version of previous v5-0008, which didn't pass > regression test. v6-0008 to v6-0010 are attached and they are > applied on top of v5-0001-0007. > BTW one more thing - I strongly recommend always attaching the whole patch series, even if some of the parts did not change. Firstly, it makes the reviewer's life much easier, because it's not necessary to hunt through past messages for all the bits and resolve potential conflicts (e.g. there are two 0008 in recent messages). Secondly, it makes http://commitfest.cputube.org/ work - it tries to apply patches from a single message, which fails when some of the parts are omitted. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services