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 1wc1BK-0031dJ-0J for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Jun 2026 13:28:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wc1BJ-00C01x-01 for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Jun 2026 13:28:49 +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 1wc1BI-00C01p-2N for pgsql-hackers@lists.postgresql.org; Tue, 23 Jun 2026 13:28:48 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wc1BH-00000001kYS-0sOp for pgsql-hackers@postgresql.org; Tue, 23 Jun 2026 13:28:47 +0000 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-45ef779c1c2so4305528f8f.1 for ; Tue, 23 Jun 2026 06:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782221324; x=1782826124; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:cc:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=SnjHJWdmeoQI/CIuRh8UQvN6JfDxm3YArWfc6bwaMp8=; b=LWSeYfiyZADG6H759jEE5ub2MdgTFFNqxEESaJdyvPK/4LLcMUjMRHSnStrbwXbCiw CijRv/zwYt6YSeFyaw+Fx5GLtznMzAGbKbSr/JqfXSzD7JL4jxsF7npcd3DdDuCDRul4 WJtZYZCK1l6bDs/vX55ZDwgJRPodDGpMIru1tZPC7Cjg1WqMLSEl6sqLHHOmNB6ALPK4 dPSdZPsSW3Gx3XIUpq6iHqejE6Peo1ZNpf270r5H6akQICU2gBiR+5nWcOMrvFiztixB I9JzeUjnQUfkdrmkql7RNA/6ciPsmI20n2dwLYOcyaVaWf8L8xmaFf48EfdTei3JTkr4 dpmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782221324; x=1782826124; h=content-transfer-encoding:in-reply-to:cc:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SnjHJWdmeoQI/CIuRh8UQvN6JfDxm3YArWfc6bwaMp8=; b=hRrRZ61TRexL0KQ5sQRaacIkvomP1gD49w1AGMQOfAhat9O99VXaisnTOt1GuXavs0 X0JgmeDtYkhT0712j/Wc6l25l4X/+49YqUzmtXme2ok85JsWHPEqyQg4jGaLLBqNmlVd CIdhK041/D9KphRHVMtk2ZgWrR+BQFME/th7nRdor7CRzlRBQbKMuUKdBk1Yd/JKue2y YVic+BMA/DJ6nwS9Gcx4I5F8YW6eAYAGMx+l8vX8g2SqtZFHJH+UEhqMFY+HdCcjg3zi Cq0QpIUnuvCQhE/IHoF9MHGnWFI8RGS3+HVJgGYuiFAP4S9iKWYDzvnjGp7vZPChpxMf YCXA== X-Forwarded-Encrypted: i=1; AFNElJ+DJenUshcSsR3UxsmHcFL8Xg8tx1I4NaAtzqW246kHpsTszAuwSU0V5S8IoGkNLF0GvK0lX9pD9tBogeYU@postgresql.org X-Gm-Message-State: AOJu0YzJI/AXJ0kmxX75sorpPTVF2cTK9UgKyWbNnBulINxIBD+pGpet 5LXF8JnEsBEfRpuSyZ0dSPfGZIhVM05lhEMIuRwGangUxmOC3sUYat9i7LwtXw== X-Gm-Gg: AfdE7cmjx9i0DfiUozQInOMGrxPsTe5kd3Z7TyV3PPAcwpJK357oOpUQzqT6HUVYuWt wTvNtF32PO23F2K8I9wNrYOZ3QD5iSkakR3VazEx+n1CRzdLqb9jOZPPJoR93Poc7jKlRJFU3+p 0YefMpCFvW7H5pQArV49VLgQ/V9iIK3OAgbH9fxHvvj9wjsuo4K17mcU/0vBtCknRtPyhWtThsP DdAuLEL0xMBPD3UW5CcGEjvHIKqKnsUNDY/q98SelsG+6+Aw5HMZNSNTGqJjc3c+WAXZaloys/L tNxn3hHz8ZVvW+cpAyjiONlj+r37/2lHPyR/zMvTckJfuC9OJxuEFhdm2kJNlcEeDiu6mTqusSC 4Z/JqxDrRPWGWRS1CAF2zKCk4+IgnQXKCP7Gga0iWyUv0wpQe9Dyca7FhM1OWD7yHRHOBXqqK3c kZqm1RzpuISE8V5AQ0abgepJZjOWo= X-Received: by 2002:a7b:cb56:0:b0:490:b65f:8b1 with SMTP id 5b1f17b1804b1-49240e22ed1mr206379795e9.5.1782221324187; Tue, 23 Jun 2026 06:28:44 -0700 (PDT) Received: from [192.168.15.219] ([80.251.191.198]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49240efc63fsm235132185e9.1.2026.06.23.06.28.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Jun 2026 06:28:43 -0700 (PDT) Message-ID: <1a8ad1cc-8e6c-4e97-a8c2-55430b39754f@gmail.com> Date: Tue, 23 Jun 2026 15:28:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Logging parallel worker draught To: =?UTF-8?Q?Benoit_Lobr=C3=A9au?= , pgsql-hackers References: <10D5C31A-A303-4440-BCA2-921440A9E1CC@amazon.com> <63d182f8-1a65-4e34-a335-403f53b14ba7@dalibo.com> <31dc1548-30dc-4423-b939-2842c469f129@dalibo.com> <82ffc7a2-b77d-437b-a684-4a79a32fd87b@dalibo.com> <57c9576f-9689-4667-825d-fd2bec43c793@dalibo.com> <5214af4c-25ab-4fe7-b4be-2ea9e0cb8f30@dalibo.com> Content-Language: en-US From: Andrei Lepikhov Cc: solai.cdac@gmail.com, alvherre@kurilemu.de In-Reply-To: <5214af4c-25ab-4fe7-b4be-2ea9e0cb8f30@dalibo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 13/04/2026 11:44, Benoit Lobréau wrote: > This is the v11 of the patch (rebase). I wonder, what is the actual reason to report after the operation ended? What if the operation has been interrupted? We will not see the report at all. Maybe it is better to do after the launch: we successfully acquired worker slot, and that's what we actually wanted to know, isn't it? Also, I don't understand why log_parallel_workers has exactly these options, and there is no documentation explaining the reasoning. Generally, I'd prefer the log level here - it would be easier to write tests as well. -- regards, Andrei Lepikhov, pgEdge