Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1vwk-0005PL-W0 for pgsql-bugs@arkaria.postgresql.org; Sun, 25 Aug 2019 17:04:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i1vwj-00039f-Gc for pgsql-bugs@arkaria.postgresql.org; Sun, 25 Aug 2019 17:04:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1vwj-0002zY-2r for pgsql-bugs@lists.postgresql.org; Sun, 25 Aug 2019 17:04:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i1vwg-0007ef-LP for pgsql-bugs@lists.postgresql.org; Sun, 25 Aug 2019 17:04:51 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x7PH4jQp008178; Sun, 25 Aug 2019 13:04:46 -0400 From: Tom Lane To: Andres Freund cc: yi huang , pgsql-bugs@lists.postgresql.org Subject: Re: PostgreSQL12 crash bug report In-reply-to: <20190824225401.gii25wnxwxtx6evg@alap3.anarazel.de> References: <20811.1564344681@sss.pgh.pa.us> <28807.1564614449@sss.pgh.pa.us> <20190801004000.3xis75ulpun4ha3p@alap3.anarazel.de> <5285.1564627060@sss.pgh.pa.us> <20190801043658.4hqm7k3iarmq3q7i@alap3.anarazel.de> <29185.1566663202@sss.pgh.pa.us> <20190824225401.gii25wnxwxtx6evg@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sat, 24 Aug 2019 15:54:01 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8176.1566752685.1@sss.pgh.pa.us> Date: Sun, 25 Aug 2019 13:04:45 -0400 Message-ID: <8177.1566752685@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > I just had a slightly crazy idea: What if we just blessed wholerow > rowmark types? Then we'd pretty trivially have access to the relevant > types? What would be trivial about that? You'd still need access to RTE-specific information. I'm a little worried about the extra load on the typcache, too. > Or alternatively even just add type information to the > PlanRowMark for ROW_MARK_COPY instead of reconstructing it at runtime? Maybe, but I'm not sure that leads to a less invasive solution. regards, tom lane