From: Tom Lane <tgl@sss.pgh.pa.us>
To: Frederico Costa Galvão <frederico.costa.galvao@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: kanwei@gmail.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@postgresql.org>
Subject: Re: BUG #15489: Segfault on DELETE
Date: Wed, 07 Nov 2018 20:28:43 -0500
Message-ID: <22085.1541640523@sss.pgh.pa.us> (raw)
In-Reply-To: <a4873070-d39f-874d-8dfc-55ba4b6aaa09@gmail.com>
References: <15489-f1158ddcc2584a8e@postgresql.org>
<26334113-2b97-db62-b72c-8066c2dedbb5@lab.ntt.co.jp>
<20181107071409.GA17169@paquier.xyz>
<a4873070-d39f-874d-8dfc-55ba4b6aaa09@gmail.com>
=?UTF-8?Q?Frederico_Costa_Galv=c3=a3o?= <frederico.costa.galvao@gmail.com> writes:
> I stumbled upon this issue yesterday, and trying to reduce and pinpoint
> it, I managed to get to this:
Yeah, this looks like the expand_tuple bug: you've got a foreign-key
trigger and a tuple that doesn't match the table rowtype anymore.
This example doesn't crash for me in HEAD or 11.1.
regards, tom lane
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, frederico.costa.galvao@gmail.com, michael@paquier.xyz, Langote_Amit_f8@lab.ntt.co.jp, noreply@postgresql.org
Subject: Re: BUG #15489: Segfault on DELETE
In-Reply-To: <22085.1541640523@sss.pgh.pa.us>
References: <15489-f1158ddcc2584a8e@postgresql.org> <26334113-2b97-db62-b72c-8066c2dedbb5@lab.ntt.co.jp> <20181107071409.GA17169@paquier.xyz> <a4873070-d39f-874d-8dfc-55ba4b6aaa09@gmail.com> <22085.1541640523@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