pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Drouvot, Bertrand <bdrouvot@amazon.com>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Schneider (AWS), Jeremy <schnjere@amazon.com>
Subject: Re: logical decoding bug: segfault in ReorderBufferToastReplace()
Date: Wed, 11 Dec 2019 09:21:01 -0800
Message-ID: <20191211172101.k55jz364chv77ewh@alap3.anarazel.de> (raw)
In-Reply-To: <19042.1576084263@sss.pgh.pa.us>
References: <E1i74JE-00024V-9J@gemulon.postgresql.org>
	<b1da9abc-bad7-efd6-2f1c-503d508c3877@amazon.com>
	<20191205133836.lulisfo2fphdrjp3@development>
	<EEB686D3-F8A7-4371-9A96-5DF3B72A7734@amazon.com>
	<20191211163522.t2ljtydarlmusoix@alap3.anarazel.de>
	<19042.1576084263@sss.pgh.pa.us>

Hi,

On 2019-12-11 12:11:03 -0500, Tom Lane wrote:
> I don't think you can make that conclusion.  Perhaps the table once
> needed a toast table because of some wide column that got dropped;
> if so, it'd still have one.  It'd be safer to look at
> pg_class.reltoastrelid to verify existence (or not) of the toast relation.

That was checked in the email I was responding to.


> It strikes me that there could easily be cases where a publisher table
> has a toast relation and a subscriber's doesn't ... maybe this code
> isn't expecting that?

This code is all running on the publisher side, so I don't think it
could matter.

Greetings,

Andres Freund





view thread (21+ messages)  latest in thread

Message-ID: <20191211172101.k55jz364chv77ewh@alap3.anarazel.de>
Permalink:  ../20191211172101.k55jz364chv77ewh@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20191211172101.k55jz364chv77ewh@alap3.anarazel.de

 · 

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-committers@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, bdrouvot@amazon.com, tomas.vondra@2ndquadrant.com, pgsql-bugs@postgresql.org, pgsql-hackers@postgresql.org, schnjere@amazon.com
  Subject: Re: logical decoding bug: segfault in ReorderBufferToastReplace()
  In-Reply-To: <20191211172101.k55jz364chv77ewh@alap3.anarazel.de>
  References: <E1i74JE-00024V-9J@gemulon.postgresql.org> <b1da9abc-bad7-efd6-2f1c-503d508c3877@amazon.com> <20191205133836.lulisfo2fphdrjp3@development> <EEB686D3-F8A7-4371-9A96-5DF3B72A7734@amazon.com> <20191211163522.t2ljtydarlmusoix@alap3.anarazel.de> <19042.1576084263@sss.pgh.pa.us> <20191211172101.k55jz364chv77ewh@alap3.anarazel.de>

* 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