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 1mXpnW-0004Am-7B for pgsql-committers@arkaria.postgresql.org; Tue, 05 Oct 2021 19:08:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mXpnV-0003te-0n for pgsql-committers@arkaria.postgresql.org; Tue, 05 Oct 2021 19:08:17 +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 1mXpnU-0003tW-RN for pgsql-committers@lists.postgresql.org; Tue, 05 Oct 2021 19:08:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mXpnS-0005qh-F5 for pgsql-committers@lists.postgresql.org; Tue, 05 Oct 2021 19:08:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 195J8C134084182; Tue, 5 Oct 2021 15:08:12 -0400 From: Tom Lane To: Andrey Borodin cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Avoid doing catalog lookups in postgres_fdw's conversion_error_c In-reply-to: <08916396-55E4-4D68-AB3A-BD6066F9E5C0@yandex-team.ru> References: <08916396-55E4-4D68-AB3A-BD6066F9E5C0@yandex-team.ru> Comments: In-reply-to Andrey Borodin message dated "Tue, 05 Oct 2021 21:57:09 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4084180.1633460892.1@sss.pgh.pa.us> Date: Tue, 05 Oct 2021 15:08:12 -0400 Message-ID: <4084181.1633460892@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrey Borodin writes: > I'm observing a related coredump in > + ForeignScan *fsplan = castNode(ForeignScan, fsstate->ss.ps.plan); Could we have a test case for that please? It seems to be related to ANALYZE, but I'm unexcited about reverse-engineering the details. regards, tom lane