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 1xM1xW-00000001on8-3Eqc for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Oct 2026 11:36:47 +0000 Received: from localhost ([127.0.0.1]:40302 helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xM1xW-0000000Fz6n-00R5 for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Oct 2026 11:36:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]:45710) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xM1uW-0000000Fp7j-2X0Z for pgsql-bugs@lists.postgresql.org; Wed, 28 Oct 2026 11:33:40 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1xM1uU-00000001POF-1PGl for pgsql-bugs@lists.postgresql.org; Wed, 28 Oct 2026 11:33:40 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-6afafc89b48so1493199a12.2 for ; Wed, 28 Oct 2026 04:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=planetscale.com; s=google; t=1793187217; x=1793792017; darn=lists.postgresql.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=yAffAFTNaLlovg581z6HKVqBx1zUV1p+jptHINxNevM=; b=GQaY17x1etsFWXYLWeMrs9IAmxKaNRlCdPI63nSLpTRCBzLJRgIUOGwtukEFJHZXx5 AdZWaNJzuWu6XuhQHjBTGVUO0dFHq69Nmgg+3nJ/LJ/hOfMzDs5kU0VLdKr0ghPEwKKF v8kkNpEST3XCWDC/gJ/oxhWsMTzRgvUarg4cDLoRQ3u0mK8jkuxmQjZ2Nf3uDYotDnuG HP7cqczeRoTlDenTsOu/Z3a+VqEbJTxcVdmTcIipGUFDNCntm9E4MryF5sg5ra4M/PWE utSxUvwCPooNMpU5cA4WoTkVCazj/xMGpcj2poftn5LaQSofCOPLXY4JqCELSbCqa8+y 7NXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793187217; x=1793792017; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc: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:content-type; bh=yAffAFTNaLlovg581z6HKVqBx1zUV1p+jptHINxNevM=; b=ZjjusfOsrH4GRiwvNG0P1vcbEarsA95DuAwrSYZRuu1y95nKDvhEIxU3JBt/h1nDXk B8cXvIj2dD4Jr1iMXiXSjucQF9h0ZJwmeSK2JGl/GIXLsUH4aFpQtbLmrMtE60LGl9My MXswqz4j9y/qxcfGf8TjA//UMwcXPlMGbSWwzvuaLX8Oj7unR0kmEYrG+0SWG+atADb7 Uou2UJuksLqdYbgDzzEiSdN1jWBojm/1s15fxBTwUSRzV2xxHnBmCzwwoJ8oVmqLTlkE L0hsZgIPpwAMQ2qPpeovyaScocYt9j+s8UDA3AZ7fx1rbQCo3j1m14HKueaq5q4Ppd02 1lxw== X-Forwarded-Encrypted: i=1; AKwUvByDGmFYbQUa3MFDfeZbSipC1VqAquowh9WuJGJm8MZGkAoDhOZBNq5c/383ycZp+KwjjgaspCYZe1Ae@lists.postgresql.org X-Gm-Message-State: AFq9FYKILn0Az0glKmMMH7A/IBy50NMYK4zhxksY0DjSB2Tt23RqB5NA ZiWtILBzPGp2oNxxmO9VSDmfjRi6jz/ufR3CbEKEO+aVa993BnKQ9bOVFDADrZvnn+ZZX9HM62p ZIhBq X-Gm-Gg: AYBFou1f2s+l15vr19W39wTqQ+E0GUEIJ7xgIwCpfUbdf2gEF81z7TtPFA1PLbEJ0vQ gvNvH3qRc50VSmP4fOh3p9kcsm3oi4mtDrbtpQ/cV3sR3pjPEejlHO5EV7cIbxYqEcj5KCfz66F 00G7uTRP/2cltzxz8PnFnqeg57Jhx32Q0vRJDPThmVXkJQi8RuRFZ5IV4R47zR2NhuGPsalCucy AcbEiqHvEZWim6aNogyLFYusveIwSIvAtOK6XgAWX0le31XsYzw/ARbCYLOJnpb9a6d8J4xH+wE F5wmxza95DTpdYJ5FXxgTy23YjrRy6NdFvQxw41cp6K6Q2EFPEWRhQuq01ULIoyTBsDmYWTRSTk m7y/M41AZeJw//qrzeCCYRxLAGmRAQqovRMdk4Axz7AxtQ2M0VgOKxxwETJkUE2jPXKQXmvtLuv oQR97Ula2dCfEHedl8Ci47NouNYBZ2o/dC7jkQr6fdAZ4UGYzvQXOkkNJQqEQXBlVCpd/TtZzST Am2J7byceTuRCByB1ujo/S2OWlrwlCSNQSc1KFFDzE8Oau8tQ1HgO71S/3rOYuRpO/izZOW1pwS YZ8KIZt4EW5v/ladvuH2TRKbc9vc3a+Xq62iaCnXzQzZTlDT4A329xop0S2rF/LcQj2qkuOKngF jW64tpHTRydoMdoskFPec95luf7bMcfmMBY7yCD2bM+CR X-Received: by 2002:a05:6402:1f47:b0:6ac:7d0c:2cb8 with SMTP id 4fb4d7f45d1cf-6b49cc032a1mr1216106a12.30.1793187216730; Wed, 28 Oct 2026 04:33:36 -0700 (PDT) Received: from ?IPV6:2a04:4540:650b:bb00:587:b706:3954:2666? ([2a04:4540:650b:bb00:587:b706:3954:2666]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6b497ff5fddsm1253060a12.2.2026.10.28.04.33.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Oct 2026 04:33:36 -0700 (PDT) Message-ID: <8f98c2af-ca6d-4cc5-9c88-5cb1505a3db7@planetscale.com> Date: Wed, 28 Oct 2026 12:33:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: START_REPLICATION silently truncates an overlong LSN component To: Fujii Masao , "Hayato Kuroda (Fujitsu)" Cc: Ayush Tiwari , =?UTF-8?B?4pmCz4DiiYwyNjIx?= =?UTF-8?Q?8?= <1991230470@qq.com>, pgsql-bugs References: <39e2b3b2-aa68-4e8d-832e-6e3904e9bea7@planetscale.com> Content-Language: en-GB From: Jan Nidzwetzki In-Reply-To: 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 Hi Kuroda-san, Fujii-san, On 28.10.26 11:50, Fujii Masao wrote: > On Wed, Oct 28, 2026 at 12:18 PM Hayato Kuroda (Fujitsu) > wrote: >> Hmm. But 5ffb8c74 also did not have any tests and the error "syntax error in history file:" >> is nor verified, right? I still feel we can follow the manner. > > I'm not convinced that 0002 and 0003 are necessary. OTOH, there seems to be > general agreement on 0001, so barring any objections, I'll commit that patch. No objections from my side. Kuroda-san, you are right about CppAsString2(). I missed that the value is stringified for scanf. Thanks for checking. So, I am fine with 0001. The static assert and the test can be left out. Best regards Jan -- Jan Nidzwetzki PlanetScale Postgres Core Team