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 1l1X7c-0000iZ-M0 for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jan 2021 16:11:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l1X7b-0005uO-J0 for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jan 2021 16:11:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1X7b-0005uG-CS for pgsql-hackers@lists.postgresql.org; Mon, 18 Jan 2021 16:11:15 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l1X7X-0000PX-NB for pgsql-hackers@lists.postgresql.org; Mon, 18 Jan 2021 16:11:14 +0000 Received: by mail-wr1-x431.google.com with SMTP id y17so16983569wrr.10 for ; Mon, 18 Jan 2021 08:11:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=eSX00bs8PONCuMyAF0mtA2is9YINkqot7goSHe4d1r8=; b=HklX0T/zRQ7PWn5SZPWhZkWuKgUD98Y08GSzbD6vjbeDgme1xMhZs4IXt5agM3SZKw vM8WscTI0IXpmFVHcKbvGn4K5YWWxXXZtl99jyLB/VgTs62vnkmsVoPstUyVOtFfIs+r ys3WjnEh+OnndvKuGdTgxDaAQ8X30ZqbqbZDIm8sGaPO+LHScvkIbtphLQMXeVxD7w7P i3zoSH6s9E6VgkuGfyfSuhf/L8fjPNQqJTp5rMVd4fRjcMtprxilGd8YdKzKGb5bnkRm DXmYizSq8ZE7GeFRBqA003EYRxaeQG/4BF3CsQ85eoAYcBeMw36WyoTW+BD5DcngsVQL BDmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=eSX00bs8PONCuMyAF0mtA2is9YINkqot7goSHe4d1r8=; b=hLfRwVZfSUVHIdOZvSYX4EJvJ1fk/puXwUVzIm8YvzJrchwGRC2HWw6gvr4IXEJmGU 6QQq5bjnh8QDa30Swbq0HTcxhtfSxoc15tmX1onuJPmL5hQC2kVxEtyrlOTq72Ge5Ki2 JVZ0q/gDH+aQv98UaPJaB9zz3z+eBY3tlD+wxrdshgsXyJAJo8w19GnBvaR13DEvCqQ5 DsnKiaBRfsSdnvnVOHoipEgp/A0auv2IFNOj9TpD4C7cUlUe43a5IKlbPM6hm/AQ8H3V WbqsEGI31EBbDWBBL1KQcSJJHiW0FCyFOetE4fwNW/9rWMfruzUzqiD26oVDJu48DFaF StyQ== X-Gm-Message-State: AOAM531iFSYcSa+k2eRVh8yuqwa+vSXwBIkuU74sSs5f3vVw+bVpwwh1 pHEe/lVgyc0/6QL3cosEVzrr/w== X-Google-Smtp-Source: ABdhPJyWjCXLgb5xE6NbYFOHBVteYY/dL7QNQpdU6VSw+PXHcgqfHjm6cIbCgBV43M8OvEziXb7k1A== X-Received: by 2002:a05:6000:1624:: with SMTP id v4mr236002wrb.210.1610986269872; Mon, 18 Jan 2021 08:11:09 -0800 (PST) Received: from localhost.localdomain (217-149-170-43.nat.highway.telekom.at. [217.149.170.43]) by smtp.gmail.com with ESMTPSA id z15sm31606972wrv.67.2021.01.18.08.11.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jan 2021 08:11:09 -0800 (PST) Message-ID: <4f0aacc5fe1b4bfafa32b36ecd97469fae526a75.camel@cybertec.at> Subject: Re: Add session statistics to pg_stat_database From: Laurenz Albe To: Magnus Hagander Cc: Masahiro Ikeda , Ahsan Hadi , Justin Pryzby , Soumyadeep Chakraborty , PostgreSQL Hackers Date: Mon, 18 Jan 2021 17:11:08 +0100 In-Reply-To: References: <68050bc3d927050061d0b106905d69b3bb39fed2.camel@cybertec.at> <70a90a9b4a7e1df47ede3b01774608246bd929ee.camel@cybertec.at> <95a4c49710cdf8be220bc8267872b171c2e3f182.camel@cybertec.at> <20201013225548.GQ9241@telsasoft.com> <9e1c7bf4a654e50973b1be7770dda31431538351.camel@cybertec.at> <2099659e5d679d070f0bb2edb573f296f3c9813f.camel@cybertec.at> <27530e647d14ef49199694ea3c376935fa7285e8.camel@cybertec.at> <6fac65dcf175175f95d5fb2aeae731b70bec0a58.camel@cybertec.at> <26160fe79298a55c191b867f723acfd1557b506d.camel@cybertec.at> <4fed6634053fe2c0e40278a4244a9f8f46c07ad2.camel@cybertec.at> <7fb85177ef7d13efa2ed40787fc00d12@oss.nttdata.com> <66f8465d03c28e501cc4b11571f9ba487cbfa6c1.camel@cybertec.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, 2021-01-17 at 14:07 +0100, Magnus Hagander wrote: > I have applied this version, with some minor changes: > > * I renamed the n__time members in the struct to just > total__time. The n_ indicates "number of" and is thus wrong for > time parameters. Right. > * Some very minor wording changes. > > * catversion bump (for once I didn't forget it!) Thank you! You included the catversion bump, but shouldn't PGSTAT_FILE_FORMAT_ID in "include/pgstat.h" be updated as well? Yours, Laurenz Albe