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 1rCAzK-00EZpU-KL for pgsql-bugs@arkaria.postgresql.org; Sun, 10 Dec 2023 04:00:18 +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 1rCAzG-004v0v-CJ for pgsql-bugs@arkaria.postgresql.org; Sun, 10 Dec 2023 04:00:14 +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 1rCAzG-004v0n-1Q for pgsql-bugs@lists.postgresql.org; Sun, 10 Dec 2023 04:00:14 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rCAz9-009fIg-CW for pgsql-bugs@lists.postgresql.org; Sun, 10 Dec 2023 04:00:12 +0000 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2c9f62fca3bso42642241fa.0 for ; Sat, 09 Dec 2023 20:00:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702180804; x=1702785604; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gM+AaS590axbxCMC+KqO5dCGA0ocXbg4x8siGJAbQso=; b=Wp8ItyaJVOgNcP9ETq/qN1mC9KLlaoL+enYaKorZprDRpaiTTA3CIFN+zwoKKsYCyG XWgTkL5zWna7mRD9fVPSj1JhBrj7kpQGwiVDMkIXu5g5MAkr9iB+3KNMUF3cmoLtCfRJ aQr4vQ6iii5TmW6OYpnlRBzB2EBRxR6gMmmw8tFEeoK96ejcZuLvQPBtI77Fk9B1g3Cf ivAMzNIEDKMjjd4HtwWB6BEa7lYo1kMW5kgKaEetgoJpzTeMyo9+KEmYw1XGN0ZbH0rP r4bin9qLfTRSFFCHqgSLWKHt2c1EDdrSsoNyekaeXKUKaVoF0RoX3ObUMVUbDhyDtNRI rGrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702180804; x=1702785604; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gM+AaS590axbxCMC+KqO5dCGA0ocXbg4x8siGJAbQso=; b=a9nvYdDFCJq9mswV0Sv+05q8qLy3NT/7issVpOcoTdnGXcejEHju+KcG1Ma6q5OWbx QnncPmQfo+VB1NLDupbx5daPNpGOHUQww62IPoM9SKQOJKktO2ii/iDXVvZ/0XBIi6Dw 9gjsvFkYVKnkfCsnh89AvkvkhuLPA597Wgo1UkB/Rkv+WoX5/iQW+pn4LhWlwRRbgfCh MDy5Ll8JqEfR5RbN59brfC3fhoc1wojhlBXbJZwoYj4n3h92u39g5VL550SkgSoNPoRi geqCYS/5nhBVWD3tHZx4rlrJArCSk0OsMcPr7Em6vmCEqXeiqcfJhF3P4jGfVHpXFJGy GYfw== X-Gm-Message-State: AOJu0YxxIvaZyoD7tfVlvQ1+umxvTWCkTG0aOxLiFdEQ4o37Tv+mqKHg p6S6Zedz4Inku/uZNDqWOXifnKOBAeU= X-Google-Smtp-Source: AGHT+IGS1fcTLcbjcEE75B6rUr+nfnOEImjpxGDqVOaexpOyGjFsp3EGIh7dleFlrtJ7lSg8d9qugg== X-Received: by 2002:a2e:8941:0:b0:2cb:26bf:cd85 with SMTP id b1-20020a2e8941000000b002cb26bfcd85mr944195ljk.105.1702180803658; Sat, 09 Dec 2023 20:00:03 -0800 (PST) Received: from [1.0.0.7] ([178.155.25.25]) by smtp.gmail.com with ESMTPSA id o7-20020a2ebd87000000b002c9ea368108sm726965ljq.0.2023.12.09.20.00.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Dec 2023 20:00:02 -0800 (PST) Message-ID: <68138521-5345-8780-4390-1474afdcba1f@gmail.com> Date: Sun, 10 Dec 2023 07:00:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: BUG #18224: message bug in libpqwalreceiver.c. Content-Language: en-US To: Daniel Gustafsson , Tom Lane Cc: king tomo , pgsql-bugs@lists.postgresql.org References: <18224-59c34f71e2c6a5ed@postgresql.org> <750771.1701698849@sss.pgh.pa.us> <751760.1701699492@sss.pgh.pa.us> <9C3157E9-C42D-40E3-9A11-64E4F890CD4E@yesql.se> From: Alexander Lakhin In-Reply-To: <9C3157E9-C42D-40E3-9A11-64E4F890CD4E@yesql.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Daniel, 05.12.2023 16:44, Daniel Gustafsson wrote: > Following the bouncing ball it turns out that restricting to 9.4+ (effectively > reapplying 083d29c65b78 adapted to the callsites moved to a common function) > across the board isn't doable since pg_basebackup requires IDENTIFY_SYSTEM for > 9.1->9.3 to get the starttli. Thus I opted for just fixing the error message > and left the restriction on 9.4+ as future work for when it can be done across > all callers. Isn't IDENTIFY_SERVER a mistake in the comment added?: +     * IDENTIFY_SERVER returns 3 columns in 9.3 and earlier, and 4 columns in +     * 9.4 and onwards. Best regards, Alexander