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 1uaGR1-002ugt-1N for pgsql-general@arkaria.postgresql.org; Fri, 11 Jul 2025 16:17:15 +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 1uaGQz-006KjP-4X for pgsql-general@arkaria.postgresql.org; Fri, 11 Jul 2025 16:17:13 +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 1uaGQy-006KjH-Lq for pgsql-general@lists.postgresql.org; Fri, 11 Jul 2025 16:17:13 +0000 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uaGQx-006n0r-2R for pgsql-general@lists.postgresql.org; Fri, 11 Jul 2025 16:17:12 +0000 Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-4079f80ff0fso2039348b6e.1 for ; Fri, 11 Jul 2025 09:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752250631; x=1752855431; darn=lists.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=z6eAbKCmspOS0ouhZrHZxEzRCmoEbyuD6VQdNJMhtnA=; b=EOVhM383sDS4pK9j3d8jn+KRU2vpayLloZPJBNGnZeAGpUl6wG8cZKGwH0A6C1fXFx zICyqmo9j9JgNlkwWhhobBpSTIcxx6lPasovozPUwznF+gjCsq5GuNIZo3MC7c2rPP8c RWKpq8VDST6hyuL7P20sbci5SGkhQre0JAQKm83rFRa4d9WlNcdM0thPdvjJsG7K8uZe mEY4rUDjLTyPpJ1ME4VbVb6JXqSZcruARzxgMSOPivT3e/3qakUVSAlhttfpiOvbwho3 jn318OSbwYqeE9SnOG4UE4fOq4aLrCKZeo6MuqGei/5h5i122qB/S7IQLCGvM9aNPgh0 Iv9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752250631; x=1752855431; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z6eAbKCmspOS0ouhZrHZxEzRCmoEbyuD6VQdNJMhtnA=; b=xTQ4d6+7csZpuiZGOs+rLeSclk+QdjIikiwHg8udS6qduEeYFV3K+Hndd/MGAVJwp0 bK+konJi4QaVjKJGzyR2zYn++lvM6fBUtMeChln4zj1CkQzzhmcFzFOe8sV/5959hNNB gaCA78cvhUW3cIyvyVa1IPXSRBRp7uu8IqI8wQJg9YPih61t4tdbu1iDf8BX4GORFKtf LiIsWxrDrB3KQd4RUzRMgJuZnLibXfO7eLL0Bo9gyjJGP7UzHzNywCUEnE1EiP9aUwTc 3ERIgnvSA2nFIxu7bi6OpPhRD8SFq9wxz7lyNvSkxVQgaiPOFNYQAZ+GIN8d3Sg6v510 jVrQ== X-Forwarded-Encrypted: i=1; AJvYcCUtwLJ0Cios42WJH/GE8CeLxvJfztMYOdl9wx1nRR8fdnynAqXhkA33eV+V9ofvkZLPNMhT8i4peIj/uViW@lists.postgresql.org X-Gm-Message-State: AOJu0YwKEB3tU7IdJ8+5fXyBzpw2HccePKNWZBrYRPnqWixGcEGAq+3h 1GfQyFwOOc76Zv0NtUBuYvjE03q94sxUPmXHxiz6R7YNX5jrfAi3kxgVbgyZf4VryBhGJpPCZoz f4pYfswnc4hiNwbtw4O8OU/21RpdL/Mc= X-Gm-Gg: ASbGnctBWlnWSmUk8mc6QWsHjjBJfAtrTILI1KmKzq/Dtu2DrVNEYQEYjkfGlYRpkzN 9XAc8v3tbh2CYRTLq1pMv31399rrD50dMbxhC1bNFnxKouKsrPLHYmChZkh6Q8INKblPeEiHlS5 n+cG9EZPjEHBA2Y1AHnbMjQ1T8OZhakL0bBsu6EjNujtpLgyYID58Jvc5dlgsQR2lH1Q5vVFBaa sO2eECN5Q== X-Google-Smtp-Source: AGHT+IHn2sCm1wi5LsD/D0EUjJCk0cLYXWsksepGrJsTFujgnQYpuud3nKWKiW6NyPfD40ev5ZJlll5lQJQBakYBcxo= X-Received: by 2002:a05:6808:2016:b0:40b:a4ca:f7cb with SMTP id 5614622812f47-4151f92b89bmr2402660b6e.15.1752250630939; Fri, 11 Jul 2025 09:17:10 -0700 (PDT) MIME-Version: 1.0 References: <7f90e1f3-7e0b-4b87-8cb6-f2862755fd3c@aklaver.com> In-Reply-To: From: Dominique Devienne Date: Fri, 11 Jul 2025 18:16:59 +0200 X-Gm-Features: Ac12FXzloRVjlMQ0R-owgpxFiib2k7WGC-2GNwTVrQsa99mjWSxbM9elwfqRs6U Message-ID: Subject: Re: Aggregate versions of hashing functions (md5, sha1, etc...) To: Florents Tselai Cc: Adrian Klaver , pgsql-general 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 Fri, Jul 11, 2025 at 6:05=E2=80=AFPM Florents Tselai wrote: > On Fri, Jul 11, 2025, 18:27 Adrian Klaver wro= te: >> [...] create an extension that incorporates the code. > > That's an ideal use case for an extension indeed . Extensions are of no use to me, unfortunately, unless built-in and official. So if I have to wait for v19, so be it. But the ball has to get rolling at least. And extensions address only the missing aggregate "overloads". Not the fact current md5() and pgcrypto.digest() are not TOAST-aware to be "really streaming", and low-memory.