Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vzlix-001IeB-2m for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2026 01:17:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vzliw-001HKm-0I for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2026 01:17:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vzliv-001HKe-2c for pgsql-hackers@lists.postgresql.org; Tue, 10 Mar 2026 01:17:26 +0000 Received: from mail-oo1-xc2e.google.com ([2607:f8b0:4864:20::c2e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vzlit-00000001tPJ-3EUF for pgsql-hackers@postgresql.org; Tue, 10 Mar 2026 01:17:25 +0000 Received: by mail-oo1-xc2e.google.com with SMTP id 006d021491bc7-67bb5e4cf5aso870243eaf.2 for ; Mon, 09 Mar 2026 18:17:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773105442; cv=none; d=google.com; s=arc-20240605; b=gkMk6BfwiX/7wsh89/EtJc6rnsDC8TNUCfLF53B3YZsCkIILeZLZIC10hawHYsVADr Cc+/IN2w2ass2myB81XcafQyYVxUxxlZ91T8URdBSHnj9akHYgyhqVRZRLqYjlUt0HwR cSsE/OPWfHki6Ejefw/pmdes4HDvi+VblsqtqtugOMeSJlcjxjFQcDq5ybGwDVZUOdAU +CV6Axz79bRnQcaxVaJlpZJKaFXPobEwE3lxPqvHvbg/iEmCjeKPiwli3rCBp/xVUqS8 PiG8WH7d0VXT3XYuBnBpA06DFA7k9Ue0TckVkE9orwEf/wQv/tkbvd+tCNNxsaTzTBGs CbUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=MOy733pydVES1+1d6laOpX91mVAnHz3RezIZycMx7Jw=; fh=/5wrniPK/zJSm0/mfwFEFK5foqdh16dWdCqharfNfxI=; b=dRHyuUsT4h36gATtXC+nZutDSIBNICdXarqa45n4/BgL5O27BZIEf3Q6oo0Q34EJxJ zPwPrPzwt29c+7xFqylwGbrfZ4KS3aToLYyoHK2vnIvlfQGfhvmIZCo2CPXOVI5L1DvE is0plFl1Qz8gwx/TfNYA+oFGs51gzIDWr5b8MQzSDLZPhgrr/kG96yYBfz3E61TO5O4t EzBLhs63C+Kdq3FrCYiWCONOdCTqBMQ5SN87xi5rV6mAsOiJ7qpm6Lv5jLRWU4b81Bld Gt/NAx1+0oDFhtSCPiK2Wgoqwy3rw4ijy85qkC25wiy4I7GpaIdfe2qpZ4l+HDGcTjVd h1/w==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773105442; x=1773710242; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MOy733pydVES1+1d6laOpX91mVAnHz3RezIZycMx7Jw=; b=K2qIx8LlZKjsnCFrz3FTgz2nzzHpMEqOSSvngvsKNM7sj2UKNv7xu2LrcYZayRccfT xyZPrWExEVVy8rFhDWoVCeIhrpIRRNDrweytxvYgKTLG4AWr7o+xcheP+RybIjMMnyYY N+JnCotFTbFw2Sj07TO2p7OaomVl55OdsYGkftj4NoRggIEczuZFU5lS00lBFa2Cf4wy F910724f4JBCq4Q7bL66tk8iM5Oj3P45EcPbVZBD5/cDrJAx79nU9iWgPxFyTZC2a4a4 WAOylvxhi8hgWSeM8+IP0uTMJ+h/8EUZJev/OsEqQniy0XHt3VomuB1A63zUWL66oQji Qi0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773105442; x=1773710242; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=MOy733pydVES1+1d6laOpX91mVAnHz3RezIZycMx7Jw=; b=mErfXFQokfow2OgEKOu08d3q9YKaEPz0N252IWoJHxyb3RrxpRItE3t/mWc2sJ03P2 VztJHDY+gKtPsIeJERIr2U8ZYk2HmbCLBgTPDShLNjJJNzbGOuw0VaUe/aWPuoFvnEag LGdDg4ZlHkDLBXyzxke0MvC1gwAeBaTCUxFNg6g+YXjR2lPJp4LMVJjF/qLMuVCMgZuC 9EA7trKxYLkABfhXdtjsNyWc5vWH9a6H4AuAp84FN68CFN1x5fjds9XoIIl7E9AnECBo jYJ0F9YkYaNqIGvFUOY8oOPQQqFifFFouXpANxOJIsrDAba3WYXUl7tXfplpuLaYwVEq f2Sg== X-Forwarded-Encrypted: i=1; AJvYcCUkT5/vIVGpk3Qk0wQG1B6oN7w8WU+LeXMjAWn1379BPDgOX8FbOGIBWmm2SwEBGcb8SJg7poJHaqrZmllV@postgresql.org X-Gm-Message-State: AOJu0Yw4LPzklpRZVYsmFKfPx5PnjctoxmWCnjighQ/f9yqOaWIKADUJ YfrKcuzdAH7HtylOoqY3ZOfwEAqs3IwB75wtuGX6BwM2Amx8X4fOU2Nfz+d3r0J+gVGU+w9PHxA L5ldsfedwOPCehxVktRX8NenajL6fzTU= X-Gm-Gg: ATEYQzw5/VmXKdNh9TC5VoFJ3UzBZ9Fcfa+DYtipezqeMdLeOHty+Jfd4gunjTdR2J3 yb/yCDlOg0HHVtSrx5m6qn9YBRcNJqfV6+rWqOEMN+f0mbR30cC+uHAqKCgpwSlZMqkQwY4AvGl RQUAEtLbwSI0Nh3dpC3UXaF227X1z7GqO/UdWThMLhMZb469sJiGPdD3OYk6Qnj3PUNu1u3FsWD unXapKheDY2UMnMeD+8S52lN1CzCLGZ5TwUXydN7X53LXPOvnwFiK/MCTq1eZhSL0Eiw7W3kNE1 L6GzpVhQzqyj/xwX9Cwk8qxj1ScGRzo/HMS2bkb5fmA27eU= X-Received: by 2002:a4a:e909:0:b0:67b:bb4e:4a16 with SMTP id 006d021491bc7-67bbb4e5f8amr1648738eaf.37.1773105442008; Mon, 09 Mar 2026 18:17:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Fujii Masao Date: Tue, 10 Mar 2026 10:17:08 +0900 X-Gm-Features: AaiRm53MrWgA8LtCgKruCbjAjY3JaoXtSKl6SzUPFvVBVNuPCvKVrabsdcc_cMg Message-ID: Subject: Re: Add missing stats_reset column to pg_stat_database_conflicts view To: Sami Imseih Cc: shihao zhong , PostgreSQL-development Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Mar 10, 2026 at 8:33=E2=80=AFAM Sami Imseih w= rote: > > > The attached patch adds pg_stat_get_db_stat_reset_time() to fix this > > inconsistency. > > > > Please let me know your thoughts. > > This view was introduced 15 years ago, and surprisingly this is the > first complaint about this. I am also not very surprised. > > I also noticed that pg_statio_all_sequences does not have a reset > column. We should fix this one also. What do you think? +1 Also it might be better to update the docs together so that the description= of pg_stat_reset_single_table_counters mentions sequences in addition to tables and indexes. Regards, --=20 Fujii Masao