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 1sZcmF-002IIJ-Hg for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Aug 2024 20:51:59 +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 1sZcmD-00DLFJ-T8 for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Aug 2024 20:51:57 +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.94.2) (envelope-from ) id 1sZcmD-00DLFB-J0 for pgsql-hackers@lists.postgresql.org; Thu, 01 Aug 2024 20:51:57 +0000 Received: from mail-oo1-xc36.google.com ([2607:f8b0:4864:20::c36]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sZcmA-002fGr-2G for pgsql-hackers@lists.postgresql.org; Thu, 01 Aug 2024 20:51:56 +0000 Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-5d5b1e33fa8so4088116eaf.3 for ; Thu, 01 Aug 2024 13:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1722545511; x=1723150311; 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=rh0FhltoREANy7TembbqRpyDK3eW7lmo3VA/pG6P7Yw=; b=D1v2zoOcBb6mKQ/UsbkGXZ0gQcZHQCyD7xKZ2cF6z9mjd1x99SGcDPB0t3X8PAc9c/ E1tHQxMUWkPk01BeMtV10diRqaqrSfTvkB9Pe2v8eVFxVZujKPSVuwmzZRuQTtfLwO7d yy/ZnONrW+aFfSV81uRWcFpFHoBFcVP1hTeoR4Ytprm4N4NdWKhIgbOmUqOaFMkLu8Bk aNedG7Gfkzcs4I4SXKg8fhJhk+sizj3kgNfT2IdDNPzznq1UpXJPKemqUqpcEXuv9jHD KnyQnYKizeLWEsFYxdn0zflg+8L9lqI98tmFmhVcbyF8KvKyDzzBFXbE27E4crqp6bJY EZIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722545511; x=1723150311; 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=rh0FhltoREANy7TembbqRpyDK3eW7lmo3VA/pG6P7Yw=; b=L0ZpISR5EF2jPxJVfn/0BPtzxLbnNNiD3/Q4Ez6Aw9HbjwxuLJ2SzIWhX38JITbrXF LmMCYRTRGSJfTWnkLxO7cvatpm3Z8RLlgWrJq8HThfm0CY9AG1Ig4yCCZ9ah2/1Bu3JX K6s6r83TIrkQs7hl6i80Cbgkvse04QWKmGhiRiMIwxrHBZ+z8nccwPmVL66xGMIYLdSQ Pj9wdsZC4fMBfnJEuP9EP4b2hKjPkgOXBMeSsuOPbgEvC3Y0ayh2docugziFZmDPurJD nI/URaVwesNmlegpyy6SRKtGYXFBiHXFTZg4la2JdJlplYn7VZ2bIMBH5fVzilUFvjKS 798w== X-Forwarded-Encrypted: i=1; AJvYcCVUpkDSlJMC0Ex0ZX5S0j8iXtNeVyv5fK6DCqO++UvUzBNfXeKfDo3qq8OvgEJnGMnfhMgAWl0g3ZDVNU/Evz8PFEMzJ9p7Ng28OG2VPIDZNiow X-Gm-Message-State: AOJu0Yx8x5AzccJF2YdyE5DyLuHP2jVIbZhv+WXFiW9RIUtrGm63NiaD OrMcDsVV7J7AgZcGahOzUZdbJ24utCA3RBP7V4QozU12QZIzjLWGX/tPbJLK8AXT9dcHdbirGcw ZXiOEqkW5sI2t30tbU/OAqnXKJL/oWU1jOQjw X-Google-Smtp-Source: AGHT+IFH3EyqXNAeqWrujhRB3hyk9Cqpauh30hhBF4CXR0GanbAik9U5PhKGxEPGXXXVs+Jrlopi65xDH/fFwLcA9rE= X-Received: by 2002:a05:6870:f14e:b0:261:d43:3eef with SMTP id 586e51a60fabf-26891ea6513mr1673750fac.31.1722545511690; Thu, 01 Aug 2024 13:51:51 -0700 (PDT) MIME-Version: 1.0 References: <50d3a76e-afaa-44ed-aef5-6fb7f23cccab@dunslane.net> <5bef8bb0-7a50-4bcf-b052-2a12c3cda0f5@joeconway.com> <3416373.1722449026@sss.pgh.pa.us> <70b9e758-1050-4365-9d67-cc826faaf6a9@joeconway.com> <13ec5d8fc5e3c58053a8762634a4921e3387f57d.camel@cybertec.at> <3737863.1722522365@sss.pgh.pa.us> In-Reply-To: <3737863.1722522365@sss.pgh.pa.us> From: Jacob Champion Date: Thu, 1 Aug 2024 13:51:41 -0700 Message-ID: Subject: Re: can we mark upper/lower/textlike functions leakproof? To: Tom Lane Cc: Joe Conway , Laurenz Albe , Robert Haas , Andrew Dunstan , David Rowley , PostgreSQL Hackers 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 Thu, Aug 1, 2024 at 7:26=E2=80=AFAM Tom Lane wrote: > Are you proposing that we invent two levels of leakproofness > with different guarantees? That seems like a mess, not least > because there are going to be varying opinions about where we > should set the bar for the lower level. It kind of reminds me of the kernel's "paranoia level" tunables, which seem to proliferate in weird ways [1] and not make for a particularly great UX. --Jacob [1] https://askubuntu.com/questions/1400874/what-does-perf-paranoia-level-f= our-do