On Wed, 2024-07-24 at 05:11 +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/16/when-can-parallel-query-be-used.html > Description: > > Unless I'm misunderstanding the sentence structure here, I believe the word > "a" is missing before "parallel query plan" in the following sentence from > section 15.2: > > > Even when parallel query plan is generated for a particular query, there > are several circumstances under which it will be impossible to execute that > plan in parallel at execution time. > > This should say: > > > Even when a parallel query plan is generated for a particular query, there > are several circumstances under which it will be impossible to execute that > plan in parallel at execution time.
+1 Here is a patch for that; it may be the smallest patch I've ever written for PostgreSQL. Yours, Laurenz Albe
From 68eedd01c754ffd2dfbb11cd29f568841d7db7a6 Mon Sep 17 00:00:00 2001 From: Laurenz Albe <laurenz.a...@cybertec.at> Date: Wed, 24 Jul 2024 12:50:49 +0200 Subject: [PATCH v1] Fix a missing article in the documentation Per complaint from Grant Gryczan. --- doc/src/sgml/parallel.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/parallel.sgml b/doc/src/sgml/parallel.sgml index dae9dd7f2f..590cb385dd 100644 --- a/doc/src/sgml/parallel.sgml +++ b/doc/src/sgml/parallel.sgml @@ -202,7 +202,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%'; </itemizedlist> <para> - Even when parallel query plan is generated for a particular query, there + Even when a parallel query plan is generated for a particular query, there are several circumstances under which it will be impossible to execute that plan in parallel at execution time. If this occurs, the leader will execute the portion of the plan below the <literal>Gather</literal> -- 2.45.2