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.94.2) (envelope-from ) id 1rqFje-00BONX-QN for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Mar 2024 17:09:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rqFjc-003AcV-JQ for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Mar 2024 17:09:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rqFjc-003Abz-5k for pgsql-hackers@lists.postgresql.org; Fri, 29 Mar 2024 17:09:44 +0000 Received: from mail-oo1-xc2d.google.com ([2607:f8b0:4864:20::c2d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rqFjY-0075Cz-5R for pgsql-hackers@postgresql.org; Fri, 29 Mar 2024 17:09:42 +0000 Received: by mail-oo1-xc2d.google.com with SMTP id 006d021491bc7-5a58009fe88so1216166eaf.0 for ; Fri, 29 Mar 2024 10:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1711732180; x=1712336980; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=l6nPNBOzAxqEDNXAlZWWBZlYyc0FbxBRYostRS0dIDU=; b=q1H1vYt13DfEUuPHf6ldf3F4n/TegjcZICGiVzmjaAUknIXje9q9D/DL+MMvZIJYy4 dPaHzO3xF3nZrGiLr8S/P3QSoxAI3n6oNDPuXirhcrzTcJfpo8L5TuvPaSkcoW02BmEy detVtUN4TM4UZWJINj3LdQxt4+OXwLoDxXEMqdD4i4JBWmweaInwzuvWwWXFFqf8WDzF YJfV0s8QFl4+xLZQBgO5AoVMxKX5O1qZehshX2ZHrQ6mhlQv90Cdry3KHqnVIqiQ/X71 lx4Z+jj512xpE9J0kEC+ctp6Z1co1VMZ3KaRSbtttdqwDXEvb6NFP15LrmWtXr7arrmt zQcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711732180; x=1712336980; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=l6nPNBOzAxqEDNXAlZWWBZlYyc0FbxBRYostRS0dIDU=; b=YlVLkqjUMkkoBNHp1LXG+3b88VtQBo/rXqGJiZSG0MJqsT3JNmWYmKohbEtkK9QYnI gNX3QjnhJHomIE/HEqbXGWGrc9HoruIfVUKopJBjJA2rroGsXM1Dqp1JBVGpnbZt1gjs yuqsChYBH7xcxvL1cJ23qDGAkLpSXiBd3pE0UtPAi0kbr/7rxnJBM8gXRzvxfOLAV5Ln 0ZMMV+A0vbZFwxDfROV7AfuGQ9ARjQ1WjB0c4vXXKVn+sFOKJKs1GRsrPhI/RfqUouiV GkNR4ERSZr36PAHguIl5233UM4hyLddf9VbGTs4nqCjWkfzy/MC0otngjdnQr2E58mBQ df+A== X-Forwarded-Encrypted: i=1; AJvYcCU+Q1ec++xoubdZTS/FIcQK3sV1KJJ+UNnuh3cAqeJzyklvKE0fbsN990IWmeivJL1H7YEAe/xTra56y6rHKH4bgPFdbn8BTdzUcJik X-Gm-Message-State: AOJu0Yxd2dyK4TwgR2m88qpuOuZsrj7E7RiO8KwG/CppOxnRIVJEtBTm awpcgX1LhVIdeV51/wZl8077QYoFo3AXIQg8SAvUxwAmegD7Jd4sfeGsQHXKdQ== X-Google-Smtp-Source: AGHT+IEMAcMWwCujBEdn6NVOUqmmXP9CLrU8Pe+Qz/IPrScx7R0XmOZefjBGwEkaPpS72MEounrVsg== X-Received: by 2002:a05:6358:d04:b0:183:66a7:b247 with SMTP id v4-20020a0563580d0400b0018366a7b247mr2805684rwj.32.1711732180577; Fri, 29 Mar 2024 10:09:40 -0700 (PDT) Received: from [172.18.10.46] ([12.126.244.130]) by smtp.gmail.com with ESMTPSA id p2-20020a63e642000000b005ce472f2d0fsm3114621pgj.66.2024.03.29.10.09.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 10:09:40 -0700 (PDT) Message-ID: <22e756affaad88b77a52d67cb532ed2a544f2e36.camel@j-davis.com> Subject: Re: Comments on Custom RMGRs From: Jeff Davis To: Danil Anisimow Cc: Andres Freund , PostgreSQL Hackers , Robert Haas Date: Fri, 29 Mar 2024 10:09:38 -0700 In-Reply-To: References: <20220512034010.4oqa76pasrulkw32@alap3.anarazel.de> <20220512234207.pwwp6q33f72byet2@alap3.anarazel.de> <0892cd00635c8bcd458de6d43d31cf61953da1b2.camel@j-davis.com> <727b0f3b48aec2a4f968bf11c6fa8ca6382b6cca.camel@j-davis.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu2 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2024-03-29 at 18:20 +0700, Danil Anisimow wrote: >=20 > In [rmgr_003.v3.patch] I added a phase argument to RmgrCheckpoint(). > Currently it is only called in two places: before and after > CheckPointBuffers(). I am fine with this. You've moved the discussion forward in two ways: 1. Changes to pg_stat_statements to actually use the API; and 2. The hook is called at multiple points. Those at least partially address the concerns raised by Andres and Robert. But given that there was pushback from multiple people on the feature, I'd like to hear from at least one of them. It's very late in the cycle so I'm not sure we'll get more feedback in time, though. Regards, Jeff Davis