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 1u2odf-006MUd-7B for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Apr 2025 09:56:03 +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 1u2odd-00AK9d-4G for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Apr 2025 09:56:01 +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 1u2odc-00AK9Q-Qs for pgsql-hackers@lists.postgresql.org; Thu, 10 Apr 2025 09:56:01 +0000 Received: from mail.postgrespro.ru ([93.174.132.70]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u2oda-0042Kc-0Y for pgsql-hackers@postgresql.org; Thu, 10 Apr 2025 09:56:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1744278954; bh=9j5nLDlk3iP3PqQwlvKiFFIJpTmgA4F4fnFCOoVlbzI=; h=Message-ID:Date:User-Agent:Subject:To:Cc:References:From: In-Reply-To:From; b=28ErbUQOTQsxYqBI34ugf6ELyBe2lpXrNVOw3SBOVVGGmMjmux7xI0pVzAksdu6Ua Uv1qTTEVkwoEbiYZSUrRpm/7AB9wBdEmG70lIIoMiJarda9V44RSyprjKnDW36WNYt urnHfHXUe83Cji1m6J+bxYBR6hjrQbZRUcmiYpH9/eD6lqV6dHHzKpWARNDcZufGPk ljtz/vZMP3jLB9rsNo5AN1ajNTWkSZR2TkF+efsRpplQZdmEVFWWfHdPHIbEzk4k0h 35XMKm213nqfOqGgysvXCtkKiXbfEu1yRwVs7RiGGg3hx1qpjcN1l/x226CrnhKj9S o7GgOdFxZJhQA== Received: from [172.30.48.142] (unknown [93.174.131.138]) (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) (Client did not present a certificate) (Authenticated sender: m.melnikov@postgrespro.ru) by mail.postgrespro.ru (Postfix/465) with ESMTPSA id BE5196037E; Thu, 10 Apr 2025 12:55:54 +0300 (MSK) Message-ID: <85d3dfb9-8735-4ea3-be01-888c1a33401f@postgrespro.ru> Date: Thu, 10 Apr 2025 12:55:54 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: sync_standbys_defined read/write race on startup To: Michael Paquier Cc: Kirill Reshke , PostgreSQL Hackers References: <163fcbec-900b-4b07-beaa-d2ead8634bec@postgrespro.ru> <69541672-0fa2-41ea-af52-6e6110bf7235@postgrespro.ru> <825c1d30-e4cb-4f2c-b27b-0230d4079dcd@postgrespro.ru> Content-Language: en-US From: "Maksim.Melnikov" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-KSMG-AntiPhishing: NotDetected X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.1.0.7854, bases: 2025/04/10 06:23:00 #27870742 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-LinksScanning: not scanned, disabled by settings X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10.04.2025 12:15, Michael Paquier wrote: > Hmm, yeah. Instead of last, it would be better to put it in second > place perhaps, for clarity? That would be the same at the end, but we > would be slightly more consistent with the past logic regarding the > ordering. Does that look OK to you? Yes, from my point of view it looks fine. Best regards, Maksim Melnikov