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 1tzIke-000VaV-U1 for pgsql-general@arkaria.postgresql.org; Mon, 31 Mar 2025 17:16:44 +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 1tzIkd-0097IX-8x for pgsql-general@arkaria.postgresql.org; Mon, 31 Mar 2025 17:16:43 +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 1tzIkc-0097IE-UY for pgsql-general@lists.postgresql.org; Mon, 31 Mar 2025 17:16:42 +0000 Received: from mail-oa1-x31.google.com ([2001:4860:4864:20::31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tzIkb-002B6t-0W for pgsql-general@postgresql.org; Mon, 31 Mar 2025 17:16:42 +0000 Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-2c81fffd523so1475352fac.0 for ; Mon, 31 Mar 2025 10:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743441400; x=1744046200; darn=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=COdzBPkbJhY7Q+shKKYmYvGv2ZYToGTZ8XdKgOcoxBk=; b=iPO/afN/F4gSAN/Iv9d0UJ2+9/BZxF0Cz79xPcEbBxBjOOheuDmiry7tOUzmQ0kGfk 6sP6Haz3E0rRWOikr8ON4YUB8VlmwYkz4X1KK3Vdi7g9OnwDZuVcH9xO/mHB1q28+LI/ FxyM6Ezj8m9aZXXYVP8FKN7AIiwMdKae04HCf3KoIBS212gAv9Dga/CCG6qs9qWFkXUh 4d0gtAROuNfckUkZUByYa4zV3HnH9MO6phx0oWA2CdjSyX+klxAh/0DROGkiXq8blxDX 5vqJ2h7txOLiI5ZtBe6vlAhcjY8rPUFaQrOoEtSv5yWCbwDWc9un1CgtEtGXUBw3J5dV YxwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743441400; x=1744046200; h=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=COdzBPkbJhY7Q+shKKYmYvGv2ZYToGTZ8XdKgOcoxBk=; b=bh5rDqvm4xopMymuVDWNBOO79wPKZ766+uTxuZGHLoGjPJM750nujZN3MOBKO71LI/ GfoQ/SrlS7LMcMMdgZr30m0Ni+ErPt0J3VukG+jQlbBGInXfcP7+xY2/vcOHq4+9RIuj 9gERuCjUQikoxY1NdaicVuLL1mljpM6i9Jskv6N5Fo23UYYo+QNOQucpkvXKSeuY6sEY t5Gs/2IiGgXOUpYZz8aCNaFbnZZJsyN/F/rCFZAAloxmRBDgB1tNPj37isA4LMx8Ix3j IoLrjgVBhSNW/sbvd37azeLqVSL+zVDdD39MPvTgKj+wM4HyA45zxzw/xq0yp04UCjAw KCEw== X-Forwarded-Encrypted: i=1; AJvYcCWAQK95Hrd+DxGoC1udaG+S/E3XlBLfncrlZ6GkhUxiHw6OXm+o8WgtgzXNuslRmNcX2YLht02OvMtAo5xX@postgresql.org X-Gm-Message-State: AOJu0Yzvgx6TrrSD5Q24GuK/O9fF/F/9PbVXOILO1wwkyHSk+jlXTpTH IQlimiOzhDR+atHmxObChUDsovD+CUYBW2WanW3LjlTTbPdbdEmmDBW81hZeIMDioleHS2oNWK6 R3pzQO9/PmtyXsxN/j1Sm9VPQD/n+lPbb X-Gm-Gg: ASbGnctQ8hKmlovHELW2Cup/e0qMJKC6Lep5qea9CF+Hl6PptpkOU5XwCbWKBfYoxrO k9k4pxLz25p40KZCon9Ihz1DWaYt1qSZdrL5M3N0ndWtT2hXvykSrCxOIc3hEr/REXkiUbdel7T 9joH1GOFq1z7Ov2wU8MEK4yaPP X-Google-Smtp-Source: AGHT+IGN/lKLPYFb1BjnFQq/fJVaIZsxnXrzlH3LAaCSbQipY8ni7q5pczHietbUavM6QUlq0TEfHS17yiV8pFz/vG8= X-Received: by 2002:a05:6870:7020:b0:29e:67e0:408b with SMTP id 586e51a60fabf-2cbcf574e52mr5489860fac.22.1743441400359; Mon, 31 Mar 2025 10:16:40 -0700 (PDT) MIME-Version: 1.0 References: <01020195b987abd3-a008b77d-8c63-4931-80a4-be36a351c8b2-000000@eu-west-1.amazonses.com> <01020195dd9e8337-c912f36d-54ef-4d3c-a00d-5e697b308d33-000000@eu-west-1.amazonses.com> In-Reply-To: From: "David G. Johnston" Date: Mon, 31 Mar 2025 10:16:01 -0700 X-Gm-Features: AQ5f1Jo_L787W3sBHKgZPfkageLdhntqnDBS-1DLe18QE17KuhjeknYg437T10Q Message-ID: Subject: Re: Querying one partition in a function takes locks on all partitions To: Renan Alves Fonseca Cc: David Rowley , Evgeny Morozov , pgsql-general Content-Type: multipart/alternative; boundary="0000000000005af41b0631a6954e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000005af41b0631a6954e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 31, 2025 at 9:42=E2=80=AFAM Renan Alves Fonseca wrote: > I'm not sure if we should mention the fix or if we should mention a > workaround... > Workarounds are ok but my observation is that "this may change in the future" comments are pointless and should be stricken from the manual because people are bad at predicting the future. Just document what is and don't string people along. We never go back to old releases and say "This was fixed in v17." David J. --0000000000005af41b0631a6954e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Mar 31, 2025 at 9:42=E2=80=AFAM Renan Alves Fonsec= a <renanfonseca@gmail.com&= gt; wrote:
I'm not sure if we= should mention the fix or if we should mention a
workaround...

Workarounds are ok but my o= bservation is that "this may change in the future" comments are p= ointless and should be stricken=C2=A0from the manual because people are bad= at predicting the future.=C2=A0 Just document what is and don't string= people along.=C2=A0 We never go back to old releases and say "This wa= s fixed in v17."

David J.

--0000000000005af41b0631a6954e--