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 1nExRq-00089l-71 for pgsql-bugs@arkaria.postgresql.org; Tue, 01 Feb 2022 18:00:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nExRp-0003uf-4X for pgsql-bugs@arkaria.postgresql.org; Tue, 01 Feb 2022 18:00:09 +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 1nExRo-0003uU-Qj for pgsql-bugs@lists.postgresql.org; Tue, 01 Feb 2022 18:00:08 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nExRl-0004ia-Sy for pgsql-bugs@lists.postgresql.org; Tue, 01 Feb 2022 18:00:08 +0000 Received: by mail-lf1-x12d.google.com with SMTP id f10so9031715lfu.8 for ; Tue, 01 Feb 2022 10:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=BeTCFTL+eREfBQ8SPBu7/verX3A/FifuD7oP0dA7Ey4=; b=Ut6WG1rs+FWahUWKBHIaqbejd5eXOynaL0x7YTbkYf/HwwZryo51Gt0lXkkO9Byplw vppBeMyPcKCzmoB/vYTRgdM9MVfG0rYVk0ioOQc2SqWXFqQNHf6l+CIWItEHxvfyAOv/ 2NfqJd7imgbDrYpJu7kneikAwSMJaJwddQrHwOGCqEOyGd1ZBJHlscaNn4Sa2QhkEc+Q aCS1dgB/zLm+kWke81ZSDn43/uwv1W5TAv2/idbrUY9koAysSBES9jZuz9jBvlndp25W UoZ5+OzfCPHMpLTi6uWF5N/z+C3aWX91KzEYAcPp55H0rDdBwAsChHxA/SvefYwfqlUH BmKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=BeTCFTL+eREfBQ8SPBu7/verX3A/FifuD7oP0dA7Ey4=; b=jlM5EJrBlIOy2nYh5KuJxSgXLoSBQRil1HQpqbSBKyOwbMl8Af341YuOrTgm/ryuvc 1cPvGPnlczJdCecKLFQi8221SXoQwlx4dlNvtTvdDs/O2aAdBC8nJXHHI0UI6F7JB9H/ dw5hL0pI/uEcc31e/Dlb/kATvFGfN8dm1piHxg2fHe2TB1nXk/TlzS6JJRSoFjuti3dC 3DFikZUAPM1X/XD+NcnG2mxe0gVzne1EeJkqKbAf3Hgf9a2z6YOhJkbEDMJG0NqvHZLn XrV10WbjiaPigyPauxSrOCYnCqBCEQ3e6zwBLzD4RTj5FpnJFxpQP4ao7bGrygj8ANfV 46cQ== X-Gm-Message-State: AOAM530tdT1MLtrXJC8MyCxaOpDg1H1HNATIUMARXrN0Wlw/lTGFfFGG agiQv7Og379mxevgLiXyuVn70WR3Pog= X-Google-Smtp-Source: ABdhPJxR2Na5unF2Xvr9x0u95qZels7b1kqDAqy1hRaRIAkR3V/w1hVG+PAzrpkWP0jFYWYi/wpWPA== X-Received: by 2002:a05:6512:1041:: with SMTP id c1mr20223997lfb.418.1643738404721; Tue, 01 Feb 2022 10:00:04 -0800 (PST) Received: from [1.0.0.7] ([178.155.6.184]) by smtp.gmail.com with ESMTPSA id f34sm587706lfv.165.2022.02.01.10.00.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Feb 2022 10:00:04 -0800 (PST) Subject: Re: BUG #17355: Server crashes on ExecReScanForeignScan in postgres_fdw when accessing foreign partition To: Etsuro Fujita Cc: pgsql-bugs@lists.postgresql.org References: <17355-de8e362eb7001a96@postgresql.org> <9a8d0f3f-430d-024c-09f5-88a7519e9495@gmail.com> From: Alexander Lakhin Message-ID: Date: Tue, 1 Feb 2022 21:00:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 01.02.2022 11:59, Etsuro Fujita wrote: > Attached is an updated patch. I tweaked a comment a little bit and > added the commit message. I didn’t include your test because in my > understanding we don’t add such a test into the postgres_fdw > regression test. I’ll commit the patch if there are no objections > from you (or anyone else). Thank you! I have no objections. That test was not intended for committing, I just wanted to show how I've tested the fix. Best regards, Alexander