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 1vUa3g-00HBQx-2T for pgsql-hackers@arkaria.postgresql.org; Sun, 14 Dec 2025 00:33:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vUa3f-00Bz3g-2U for pgsql-hackers@arkaria.postgresql.org; Sun, 14 Dec 2025 00:33:56 +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.96) (envelope-from ) id 1vUa3f-00Bz3X-1N for pgsql-hackers@lists.postgresql.org; Sun, 14 Dec 2025 00:33:56 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vUa3e-000Xwi-2Y for pgsql-hackers@lists.postgresql.org; Sun, 14 Dec 2025 00:33:55 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-b7633027cb2so401136466b.1 for ; Sat, 13 Dec 2025 16:33:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765672433; x=1766277233; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=e/kK+SNbm56QhcvNrRnSNFjgNXsUsUSjmPHapuD+wbQ=; b=mecPxBjWj9Azh7HcD2jXklJKGACD8ZnWSoJ0BIqhaNnPY8swKohskc4q4wTeTH2TMz HBUDJcnDjWecF5KW8fgC6023hcKCoslZRs+PC99X0tzj0LjP0V0y207H3+3lzkTz7V6J TiHLUbcEXhOqE4w0Bu/INle2EFGDNjg/c9XwPipCZtaNg5XBzZVBx52DkN1sh7qljflf MWShhOKbo06ydvUFJlj6pwSRzH/irfXs3VFTQ+srJCCd4VDnlNHG7SkXPgvhnp2fJ9Yi 6Kw98+1QCmUGMlKAZXIb9wdi9zey+pEG2X9RtZaXGHg/ABWamMPiHxo/vy9QgASgYnRb C/uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765672433; x=1766277233; h=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=e/kK+SNbm56QhcvNrRnSNFjgNXsUsUSjmPHapuD+wbQ=; b=tNli/en2O6j44pyk3uVoewYNiKENgGFwHrxfqaxIXRlINUbqMUXeqbOQeFE6yzFu72 H+20ffN5NyCMZlQiN/uDzdGm1HxqDu9f+iiaW8YEV/d63mADIzlA6fl5yktyZdr+6xHM 6E/uPzICXCRiPzIfHJwJcda5ox4vScIFT/cBEH6C1J50c5K+alenYvGDlo38z2Yk7syv uDdVMIDKyXWgjmNVtYEGmqaKSV9hVPyrO/u6Flp3tDyP1DGpQ2WIoYgnOUbrEO4Ts5qJ hY06tw8bniB9QtDNsD3CqsiRh54UkIYWgY8BQNy0iPLmZk4hwZ8IoO4pcMj3WzJLx9x+ jXTw== X-Forwarded-Encrypted: i=1; AJvYcCV+X9ZCMZlzEYze/n/wXQTtUKUrWPU76rh8H6jm5NOjz3XryE29zhun36dz0o4dxWq1EEiJQwMV3kvQinnN@lists.postgresql.org X-Gm-Message-State: AOJu0Yxyh0Iq2m0rz/zd1YxWrsKzU7cMQ01aSKq8TtG2IyN+0gGePPqs 7g4nfyDwvP6zHSVk6uS9uN/AupWca8MV/OvGzANwS+1tfErD6QYHk7g2jkHcZUJEZCIx5obkitr 2VkSYM7aSp8jbLJKjXgcma1kTGcmoBE8= X-Gm-Gg: AY/fxX4zwS5P9R/r1WNICXMQ+7jOdWrp8o+mvVJCS/HH2Sd4qm0Bi0M5SvZFr0t07Cn fv6fzvzHLs2moaMg2RNk2PzrVRpcTS2C5BptxKZ39FOL1EwJshttt1aBneuzG7HDx2lL5dRGAlb ViFuaNcBHaQzff5pASUXMX/+mpmHWjL2jakg2YYfLJSrVvfdMddk3N7Er1ma9avnygexzBtRySL c3AKADW5oUqe84AAf5L480oOw4RBDRDWsMDIWtYoFpbIZoFH2QQRAm/GyzbZBuXkyZmEDitSy/U Ew== X-Google-Smtp-Source: AGHT+IHNEi8C+nt+ftIFYR948/Jfgo5GsEoqm1/ekZalO6+MsfyX/aLXk8hnBLY2Q5KZotRYnugjSKe2ITPXPF5A1Zw= X-Received: by 2002:a17:907:97cd:b0:b73:39c3:b4f with SMTP id a640c23a62f3a-b7d23a70a6fmr681642666b.50.1765672432612; Sat, 13 Dec 2025 16:33:52 -0800 (PST) MIME-Version: 1.0 References: <9252DA7C-C611-4A93-A484-E6CD42557C15@gmail.com> <4E61FDC4-CFBB-4116-980F-75ADD245A1F6@gmail.com> In-Reply-To: From: Sami Imseih Date: Sat, 13 Dec 2025 18:33:41 -0600 X-Gm-Features: AQt7F2r774ao5efDCvtxzh3gTRiZIUTXCI12y2zyVvhHtlUCycAoEmBq5KMBEXo Message-ID: Subject: Re: [Proposal] Adding callback support for custom statistics kinds To: Michael Paquier Cc: Chao Li , PostgreSQL Hackers Content-Type: multipart/alternative; boundary="00000000000022b9ba0645dea694" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000022b9ba0645dea694 Content-Type: text/plain; charset="UTF-8" I just remembered that we should document the new callbacks in [0] with a brief explanation of their purpose and a reference to test_custom_stats as an example of usage. What do you think? [0] https://www.postgresql.org/docs/current/xfunc-c.html#XFUNC-ADDIN-CUSTOM-CUMULATIVE-STATISTICS -- Sami Imseih Amazon Web Services (AWS) --00000000000022b9ba0645dea694 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I just remembered that we should document the new callbac= ks in [0] with a=C2=A0
brief explanation of their pu= rpose and a reference to=C2=A0test_cu= stom_stats=C2=A0
as an example of usage. What do you think?=C2=A0