Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pRtyi-0001hq-Eg for pgsql-bugs@arkaria.postgresql.org; Tue, 14 Feb 2023 12:00:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pRtyh-0002eY-11 for pgsql-bugs@arkaria.postgresql.org; Tue, 14 Feb 2023 12:00:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pRtyg-0002eN-Mz for pgsql-bugs@lists.postgresql.org; Tue, 14 Feb 2023 12:00:06 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pRtye-00072y-CE for pgsql-bugs@lists.postgresql.org; Tue, 14 Feb 2023 12:00:06 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a3so5425086ejb.3 for ; Tue, 14 Feb 2023 04:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gk+mVOdQ8H9a2/TRIm9Cm2qzFOiMvFZstGpJ1bS+I2Y=; b=iuqxN/rnmH8vLtQDgW6ZHsj3P8ciJhX8KXj8+8Sc0/+Unyx17AhCWXINranbIncFTN DAaj8cc++HcCESgufWpFC5R4LBc+lZ90cfq4QvWhbL0hL2T9ERpTkQkwvlyFWvUUdKAS t1NbuEul+Ux7N7xaYJ7xD37eH/Q/j2ASavdb0thwf4X01uIPC/G8zCoE5EJP9BCfcwkC ED8D5U75NSPU1LIGYs80Mn+XFciDPA4DaE5sSLyJ7XmRc9NyQK/PNeQ6tQkpxzCAdZYa PNoQtvwxJ/DI48XZomf+aDHiR6Kh4+XilGQWKFwD6B6ORY8vm/ScN3KHiFttANnMPKHf ZaSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references: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=gk+mVOdQ8H9a2/TRIm9Cm2qzFOiMvFZstGpJ1bS+I2Y=; b=2/+4qvQgjKCXNE0328wSSILjPALSfP8arXGUQQaGtxbhSIW8MMRbv1hnewiYqFq4nj OT16KVuVvYBK4yWMsqXV+CVyBxYFltR9c61LMcPb5uio0Xq3F7QKukFm2cmPcAulSuzg Y8S7CW3vz1yxIh/TxvZIAcPPUKNXF//+9ijhpGoLP0sifpSqv/pc0CbU2NSsCk9TzC5h YauaRJZx8KaoLVFTEgmgNyHNawVt5jhRfSiN9gbBZeLqqr5vPL08NgFOOvHfuRdoWaAE dsKXmXtZhMt8h6X1GSMJTZkdNHjwXkxeAw/me08lyjuHEumgo3qyXjvjuFXqeNpJ7f7z dL8g== X-Gm-Message-State: AO0yUKUd3mTip8bKKj1G7Dh3vDjIn8VQpoiOmk1Cgi3WvcS5NdtkPae4 6O+YM2injND9R+YvZ8//A31wpS+Ux+A= X-Google-Smtp-Source: AK7set+bnHmmm+7ESurSK2dGyyz5Kb+7+A3tDhl/Kz9ewtUmRC6N9Hj8Gqt4cm6W8Q+3WgXWr7DG3w== X-Received: by 2002:a17:906:d82:b0:870:6554:92ac with SMTP id m2-20020a1709060d8200b00870655492acmr2321690eji.18.1676376003353; Tue, 14 Feb 2023 04:00:03 -0800 (PST) Received: from [1.0.0.7] ([178.155.5.245]) by smtp.gmail.com with ESMTPSA id k6-20020a1709065fc600b0081bfc79beaesm8054196ejv.75.2023.02.14.04.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Feb 2023 04:00:02 -0800 (PST) Message-ID: Date: Tue, 14 Feb 2023 15: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 #17792: MERGE uses uninitialized pointer and crashes when target tuple is updated concurrently Content-Language: en-US To: Alvaro Herrera , pgsql-bugs@lists.postgresql.org References: <20230214112933.cshqgnzpcioedizy@alvherre.pgsql> From: Alexander Lakhin In-Reply-To: <20230214112933.cshqgnzpcioedizy@alvherre.pgsql> 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 Hello Alvaro, 14.02.2023 14:29, Alvaro Herrera wrote: > Hmm, yeah: because this is not a partitioned table, we are definitely > not expecting that cpUpdateRetrySlot will be set. Can you still > reproduce the problem with the attached patch? No, your patch fixes the issue. Thanks for looking at this! Best regards, Alexander