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.98.2) (envelope-from ) id 1xNkER-00000002iwk-05iQ for pgsql-docs@arkaria.postgresql.org; Mon, 02 Nov 2026 05:05:19 +0000 Received: from localhost ([127.0.0.1]:52572 helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xNkEQ-00000001MQz-0vwk for pgsql-docs@arkaria.postgresql.org; Mon, 02 Nov 2026 05:05:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]:42082) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xNkEP-00000001MQr-40UM for pgsql-docs@lists.postgresql.org; Mon, 02 Nov 2026 05:05:17 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1xNkEO-000000026hc-0Lmm for pgsql-docs@lists.postgresql.org; Mon, 02 Nov 2026 05:05:16 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4a35a60499eso24679345e9.0 for ; Sun, 01 Nov 2026 21:05:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1793595914; x=1794200714; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to:content-type; bh=9UdsJlnz5ea2zoGPJkuk4bZoDoTBbOe2bDrfGoYUhv4=; b=hvfOY1T91XGkozXm33MN2wL/G+JGWyLHCJR8qyvm2RX/QejU1fpZn8nrSac/z/4jdm ++0SHXwsKF2ek+RFRvOUdGs9rDr+m3HnRpGaoLgt75VXH6k/Mj+rllqxIa0124zIB7Vk taAXEUiwa8dK/0HuVpqNQxrIxj2g7elw//6hvyM8svXl0GYv2mDOv8ZvMYLsKyhWtzfg /8LZr6O4BjyXawPGeF+AtsoUfmCb92Ew57NdXzMyByKuG3rQzOXbjbsqhAorQIuN5fWG w1NEHhmOqh2reKkswi8o4zee5Q2VIGSejxNTFfjKGr0YGZsWTeh7OEnqc8LOPIAxEsNr orbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793595914; x=1794200714; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=9UdsJlnz5ea2zoGPJkuk4bZoDoTBbOe2bDrfGoYUhv4=; b=qxCmpHM7SKe93OWWI8x+kvgwqZJ/PnKDTwkGwNni6Lbs7b+YTCo6PAazZr20/JkTa2 HJ0ERyQuueQc6WExnU0Auy2DFeGboIvP8dYJwB+qLb2gogd9Y6OFMPZ0INIsDZ+59tNq +IahD2BGk3r1k4E94HTg/xZFUrakadVH0eZTd18/LUO2a/9b1DphbqqmFvOI/Tl6BiS4 F9nO+CQBSElWTP/cCI5QquqQpcNo9iHDVimigzyLzn3PNabCS72OXcCoGUsgCxmCx3Kz K4Rln4Kz9582VWhUt84q7QNQTVIqvdHb4vxMZYOpzO4bd2D81bDzgJAAXSGUUAGQWygJ oT+g== X-Forwarded-Encrypted: i=1; AKwUvBzFjFvn99V7/hetGLM2QPajeaEAgwuFa4tmcm9pJUm6tlrudZHIvq7lWk0/2MAQybcqFGtwlK4qww0E@lists.postgresql.org X-Gm-Message-State: AFq9FYK0XQeGbeI1BGfJnX5BaLoGO8Qj4+v3TWLeK7kHRogH8qFNJLFO x96jYXYmwzwOY++vBzguKU0JebudCFt7QmLWJrW99k85q2xehlFCRPxQk3+KPQ0IJ1U= X-Gm-Gg: AYBFou0hIVz88QCuOStkaKeAeiMCspMykkFuGb9FmJT2Qig7FvcZFU9s+HFbUB9g3cC xc6ibgun1WpJ2BRhq7YPSoLyjDNBB0NlmL53IaPYDMdMM6Cz0XO7O5RV8PplSJh2psGZS9Fwhcw 7488pc3oHi7rogIIcGYh49pA75cPO9Peqwctmi8dzkGqLROOhYB8ohlZBs3bX8w7FtwRiWZNMHf ZCo5GfkLilEPTFIMazh1/lqCVlr6thCM6JuaMd0eKq9E06DGHxHeguIdoJrIKFy98CyMWh5aEAb UFB86652Nyp9Yslvqw2gfiC5LXUz9pfGn+7js4UjDjdetHVk/Sj38nttvSDp6U7HtsZVW28pN4V vEk1pCpNfCsZ39ZayzQ3Fyu22+O9sgQ9mSuVFdGKeHlEDBa/bMmT+DQdl9yKbb4z9/qxlWOPHq7 RFzI73WVb9p7vZ/Hi4g4xyZM0Q4bDH7dNLSbPveH5L7iDSrQgAemy3iQt4D0ZmxZ5Zw1sihI/5P m6Jmsivw0u6hyODuc48W6ZujwfRdnczr4xngS1tlZaBljO+Kxg+KCa9JlADAi6XIkE3xFe0li7n RNv8oBx9BY9uvyRbt/SUVp7wAueqxbpJGAd8JU/Z0ZPUVM3llr0YPALtm9/Ck3D0Gpeu79p7/1b CUkxlnCUS5wA0c3FeJIJtHtEdJE6IZPsUfkYY6v+1BemmPA== X-Received: by 2002:a05:600c:6212:b0:4a4:de70:2ad4 with SMTP id 5b1f17b1804b1-4ac17ffa395mr191548945e9.22.1793595914465; Sun, 01 Nov 2026 21:05:14 -0800 (PST) Received: from laurenz.albe-K4N0CV00F97414D (210.144.128.164.static.wline.lns.ent.cust.swisscom.ch. [164.128.144.210]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4aa7f3229dbsm311631035e9.1.2026.11.01.21.05.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Nov 2026 21:05:14 -0800 (PST) Message-ID: <4dd0f7cfdd0a828e3c6ce0a6e4c6a2446b2b9602.camel@cybertec.at> Subject: Re: postmaster.pid also contains shared memory key From: Laurenz Albe To: Fujii Masao , Daniel Gustafsson Cc: Yong Huang , pgsql-docs@lists.postgresql.org, Michael Paquier Date: Mon, 02 Nov 2026 06:05:13 +0100 In-Reply-To: References: <179313458417.1253.445225696660341760@wrigleys.postgresql.org> <662111745.874151.1793498212565@mail.yahoo.com> <753efd2b298df13383b4c57a57d965baac64aae7.camel@cybertec.at> <0E3C7644-8184-4515-8C0A-139A87E22758@yesql.se> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.60.2 (3.60.2-3.fc44) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2026-11-02 at 09:21 +0900, Fujii Masao wrote: > On Mon, Nov 2, 2026 at 4:16=E2=80=AFAM Daniel Gustafsson wrote: > > Pushed, thanks. >=20 > Thanks for working on this! >=20 > I think it's better to also clarify the postmaster status and note that > the shared memory field is empty on Windows. Attached is a follow-up > patch documenting both and adding the segment ID to the pidfile.h comment= . > Thought? I think that your patch is a clear improvement. Yours, Laurenz Albe