From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andreas Seltenreich <seltenreich@gmx.de>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [sqlsmith] Failed assertion in adjust_appendrel_attrs_mutator
Date: Sun, 22 Oct 2017 13:07:03 -0400
Message-ID: <15463.1508692023@sss.pgh.pa.us> (raw)
In-Reply-To: <87r2tvt9f1.fsf@ansel.ydns.eu>
References: <87r2tvt9f1.fsf@ansel.ydns.eu>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Andreas Seltenreich <seltenreich@gmx.de> writes:
> testing master as of 7c981590c2, sqlsmith just triggered the following
> assertion:
> TRAP: FailedAssertion("!(!((((const Node*)(node))->type) == T_SubLink))", File: "prepunion.c", Line: 2231)
Hmm. adjust_appendrel_attrs() thinks it's only used after conversion
of sublinks to subplans, but this is a counterexample. I wonder if
that assumption was ever correct? Or maybe we need to rethink what
it does when recursing into RTE subqueries.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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 using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, seltenreich@gmx.de
Subject: Re: [sqlsmith] Failed assertion in adjust_appendrel_attrs_mutator
In-Reply-To: <15463.1508692023@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