Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i5HMz-0005fs-K5 for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Sep 2019 22:33:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i5HMx-0005FF-S4 for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Sep 2019 22:33:47 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1i5HMx-0005F8-JU for pgsql-hackers@lists.postgresql.org; Tue, 03 Sep 2019 22:33:47 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i5HMu-0003e7-0Y for pgsql-hackers@postgresql.org; Tue, 03 Sep 2019 22:33:46 +0000 Received: by mail-qt1-x844.google.com with SMTP id v11so1141645qto.13 for ; Tue, 03 Sep 2019 15:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=fnSt7Jw7KVYL/FET/pvjBzCDKJyHwQngVzPfe0EbFZM=; b=IUu7bGCTKkGkT0cMz5nn405ZUjcWvE2zRAnpzs0yWp/3cM/dVyKfNUSlHLHkFj5Dyn o3rrY9PaoeulEaR2S+oX/040hzspBXdwzQm5UdpbWoeAKTww6iBDaHntyfJcHZ2HCLS6 +xeiQ/AZYqh7aE6JtOYI0vzGV0YQsr4B0cAJDxdFwtANo5mnLM1vvu3S9y0CPgxTpmp4 rztXKoafcvEB+sTEAzDulT+nR3/75h9l8PIqMY2dSQmH9q8mXEsy1zdDyfnBPcNbrFEx YUvrevQnGtNF166gAkwRitFKdca0ZpyM3dyIKbOlq7f33RqoUgaL+WXBt/jTnsyskcVY UVXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=fnSt7Jw7KVYL/FET/pvjBzCDKJyHwQngVzPfe0EbFZM=; b=D+pvF8/m4tHvjZ4b3uU9olzQj8SXW6b6x30Cu7c+n9DfFK/lIaoeLa5d0DU9H4JB6z i32wMNruXlch0rMgTAshExnRmPfc376ELoKkXUK11rSEUZMQl2Nr0tv89hVCbRRNonF+ JdPrnCGk9spHWLE7sTeHfTKGAtNUW/EzRnCicPKrv07Lwtdt9PsL0v6ax+f5CMtCLCzO ydsweJz4LJf4vp4dUwIc7rRtc8nTogRunf22rsXx73bUZYszHKMA6jJcw5d9iNpj1tcq Zs7rkQhbLLpr2grVeKhjS4tbK/nGneLpMYa8hJWTim5MhZLmWpbI+HI3pa4fb7jUWS32 iZZw== X-Gm-Message-State: APjAAAUK1KYdMrUNqIw90eHJo0KmOQ75mnKL5eESnNHOV6ozOig+eDeD Ayz4QNPgNCufdUfQRGQXhBhtPQ== X-Google-Smtp-Source: APXvYqyq5GR9YccjlEF7V2eupx/ywIwpktfAVi2dMYvEXsNP9pFi7xKFXaOW7PURqzGUWUS/qP6CzA== X-Received: by 2002:ac8:e4e:: with SMTP id j14mr36388327qti.113.1567549687811; Tue, 03 Sep 2019 15:28:07 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id o127sm9863154qkd.104.2019.09.03.15.28.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 15:28:07 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 7DB94120E47; Tue, 3 Sep 2019 18:28:05 -0400 (-04) Date: Tue, 3 Sep 2019 18:28:05 -0400 From: Alvaro Herrera To: Kyotaro Horiguchi Cc: thomas.munro@gmail.com, tomas.vondra@2ndquadrant.com, andres@anarazel.de, a.zakirov@postgrespro.ru, ah@cybertec.at, magnus@hagander.net, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org Subject: Re: shared-memory based stats collector Message-ID: <20190903222805.GA13932@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190711.164059.130487447.horikyota.ntt@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jul-11, Kyotaro Horiguchi wrote: > Hello. This is v21 of the patch. > > > CF-bot warned that it doesn't work on Windows. I'm experiencing > > an very painful time to wait for tortoise git is walking slowly > > as its name suggests. It would be fixed in the next version. > > Found a bug in initialization. StatsShememInit() was placed at a > wrong place and stats code on child processes accessed > uninitialized pointer. It is a leftover from the previous shape > where dsm was activated on postmaster. This doesn't apply anymore. Can you please rebase? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services