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 1wD3So-002YrI-1b for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Apr 2026 16:51:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wD3Sn-000wbI-1p for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Apr 2026 16:51:41 +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.96) (envelope-from ) id 1wD3Sn-000wbA-0f for pgsql-hackers@lists.postgresql.org; Wed, 15 Apr 2026 16:51:41 +0000 Received: from meesny.iki.fi ([195.140.195.201]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wD3Sl-00000001Fux-06qK for pgsql-hackers@postgresql.org; Wed, 15 Apr 2026 16:51:40 +0000 Received: from [10.0.2.15] (unknown [130.41.208.1]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hlinnaka) by meesny.iki.fi (Postfix) with ESMTPSA id 4fwnGx03j0zyPs; Wed, 15 Apr 2026 19:51:36 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1776271897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HbS5dhwZOXNsnGmHkFAWw4eNxVs2RgN8lGJ/b2mxISo=; b=srQszV8uBFIoXLoBwm3CEW26/gR7qMRCSWz1biYTPFCfznnKUmTBkM+kbQiZ6k32K+7pQ5 IzsTRk5hYK+UOM8XkMeak4qQrMTPZQoOAzj4/7r00HH/shoWg4Dm+3MMtyVlIpb8H/Tn02 wAK3y7M9dECVVr8qA474N+xmvzMMtQ8= ARC-Seal: i=1; a=rsa-sha256; d=iki.fi; s=meesny; cv=none; t=1776271897; b=k4ba40qem5aGMr1S+sRNyFUg6BTR8WcaxMvKFy6k3DRAYnSeqM8Q/01TQ+H2oEubABXFng NLh6lygts+skuESmAVasIYjlOo7b3fyXjn2uU3mWCQZ/CrVU/kqGMkS0Npp/aiXKLHE6qM rEZywLsTYhbYot+KCQUwOqbDSQoYAPg= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1776271897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HbS5dhwZOXNsnGmHkFAWw4eNxVs2RgN8lGJ/b2mxISo=; b=f1bKO9aS4lSh7lZ4/zpFxW4sVkKgA/7OCadJw3dOUt9DnGIzcKREIrRA9/alvTtx9MS8O0 1XrEMgiWuqmhv7+0TxxGd74T+ylopwqOLDAlqlqdEbL9laAyf3RR857f9tcOB149eoyieC oJt7GKetU2ijdzwjGFXepNTH1vFlCe4= Message-ID: <0f462532-9790-4334-b503-4ee522225820@iki.fi> Date: Wed, 15 Apr 2026 19:51:35 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] postmaster: fix stale PM_STARTUP comment To: Ayush Tiwari , pgsql-hackers@postgresql.org References: Content-Language: en-US From: Heikki Linnakangas In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 15/04/2026 16:57, Ayush Tiwari wrote: > Hi, > > The comment above the PM_STARTUP startup-process-failure case still says > that there are no other processes running yet, so the postmaster can just > exit. > > That no longer matches the current startup flow: PM_STARTUP may already > have auxiliary processes running by that point. The attached patch updates > that comment to describe the current behavior. Hmm, shouldn't the postmaster kill and wait for the auxiliary processes to exit first in that case? ISTM we need code changes here, not just comments. - Heikki