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 1qllwO-004Hqh-RT for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Sep 2023 08:00:08 +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 1qllwM-00AENB-OR for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Sep 2023 08:00:07 +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 1qllwM-00AEMt-FZ for pgsql-bugs@lists.postgresql.org; Thu, 28 Sep 2023 08:00:06 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qllwK-0074sl-J1 for pgsql-bugs@lists.postgresql.org; Thu, 28 Sep 2023 08:00:05 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2c00e1d4c08so209548681fa.3 for ; Thu, 28 Sep 2023 01:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695888003; x=1696492803; 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=pETjlL2psIQUMNmO4qePlWGNBaCUEXAeu6Nef9kLSXQ=; b=lp4ovLPXLsRdBGP5L9lljTgJ/DcRbXzw/cs3qnNelnE/wrTyxlb+Zyx4sL8Go570wS j/XGk0jleKDObYEJs7uFN3x7Zenceh6X8+ghHAEC6mDUz+XGXOA8OeHpNUPc/8Ev/IIh MSMKjEF6nwBsF7wVyosF3u9zTfAGW7gBdL9Y2kKqt1D+91XJP0rzPpFYzVTz7Ja0HHSJ hYIxrhvIlmwyibxaAF962r09dTkHb5LuzHuA+Y9AiF3RHkHvq+k2Yuc7SRkM1DVzdcu0 i/yWjdQ2Vt5M6Zq2gxpvHrlqKOt/SdB3ctZutKYz4uc5X6MJyaS3q+ppVFxxyjIhNGUW /K2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695888003; x=1696492803; 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=pETjlL2psIQUMNmO4qePlWGNBaCUEXAeu6Nef9kLSXQ=; b=ouU+KXb9GDhTd5nuaWC4tiJd4jnkiArbSh/QN6XhNgg16ZgyorRg9otQ3+rbTqeOXr l2aIsz7STHVO81PuKU0Vl175S/JrNKdaRQGUEenmsV6HRMPOfb+roojZ/Dm2P21xPYBT 0xO/+1Ah1eb92z/w3e6p9s1cLNst6fbhITjIarEvEM2BhIQfnJgPgIdUxujgpbOgbWa4 T96z+cVr9qXQ0TVfr7M6EK4v3w1S0TjSNcEV73VgkYUpt+wMkmPjT1k3KAXZpBoVX6K4 58oB6K88ZHe+cDGJPjBvT1pPdBLC5Q7rAOvwmd2610mGvzUSng7jJl5v9uKAhpbSNH16 jMeQ== X-Gm-Message-State: AOJu0YzmdptKwsprclJPjC7r2b9EIAfm5e/zs9WTwlKhcQconaFG2Lb6 zefcfkSpDs8oHamY1/f0Gno= X-Google-Smtp-Source: AGHT+IF5bNS6bb9cUtPHVq9syb07jW0BCuTAvJFPw3Z4DABilfbIpPUnmx7SRJn43cU3hY5GOkWSTQ== X-Received: by 2002:a2e:3a10:0:b0:2bf:fae0:5cf1 with SMTP id h16-20020a2e3a10000000b002bffae05cf1mr443324lja.14.1695888002679; Thu, 28 Sep 2023 01:00:02 -0700 (PDT) Received: from [1.0.0.7] ([178.155.21.181]) by smtp.gmail.com with ESMTPSA id d8-20020a2eb048000000b002ba7ae1f52asm3565039ljl.0.2023.09.28.01.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Sep 2023 01:00:01 -0700 (PDT) Message-ID: <9a80e4e9-2c07-2d0f-4447-b98c0d51e540@gmail.com> Date: Thu, 28 Sep 2023 11: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 #18135: Incorrect memory access occurs when attaching a partition with an index Content-Language: en-US To: Michael Paquier Cc: pgsql-bugs@lists.postgresql.org References: <18135-532f4a755e71e4d2@postgresql.org> <9e3acda6-76b8-d6b4-c013-f78f84d7c5ab@gmail.com> From: Alexander Lakhin In-Reply-To: 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 28.09.2023 10:07, Michael Paquier wrote: > In my case, my process is much simpler: I just use installcheck with > an instance I set up locally using a command like the one I mentioned > above. No need to patch the tree with that and self-contained SQL > sequences. Yes, I know that method, but unfortunately it doesn't cover TAP tests, so I prefer to use such patch to perform whole check-world (and run also all postgres binaries, e.g., pg_dump) under valgrind. As to patching regress/sql/, in this case my intention was to minimize the self-contained repro. I use separate scripts for running arbitrary SQL, for sure. Best regards, Alexander