pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: yi huang <yi.codeplayer@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: PostgreSQL12 crash bug report
Date: Sun, 25 Aug 2019 13:04:45 -0400
Message-ID: <8177.1566752685@sss.pgh.pa.us> (raw)
In-Reply-To: <20190824225401.gii25wnxwxtx6evg@alap3.anarazel.de>
References: <CAHU7rYZo_C4ULsAx_LAj8az9zqgrD8WDd4hTegDTMM1LMqrBsg@mail.gmail.com>
	<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>

Andres Freund <andres@anarazel.de> 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





view thread (17+ messages)  latest in thread

Message-ID: <8177.1566752685@sss.pgh.pa.us>
Permalink:  ../8177.1566752685@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8177.1566752685@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, yi.codeplayer@gmail.com
  Subject: Re: PostgreSQL12 crash bug report
  In-Reply-To: <8177.1566752685@sss.pgh.pa.us>
  References: <CAHU7rYZo_C4ULsAx_LAj8az9zqgrD8WDd4hTegDTMM1LMqrBsg@mail.gmail.com> <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> <8177.1566752685@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox