Re: [sqlsmith] Failed assertion in joinrels.c

From: Piotr Stefaniak <postgres(at)piotr-stefaniak(dot)me>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andreas Seltenreich <seltenreich(at)gmx(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [sqlsmith] Failed assertion in joinrels.c
Date: 2015-08-03 05:50:31
Message-ID: BLU436-SMTP3324F13C3791725A65B862F2770@phx.gbl
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

On 08/01/2015 05:59 PM, Tom Lane wrote:
> Well, I certainly think all of these represent bugs:

How about this one?

1 ERROR: could not find RelOptInfo for given relids

It's triggered on 13bba02271dce865cd20b6f49224889c73fed4e7 by this query
and the attached one:

select 1
from public.nums as r5006875
inner join information_schema.domains as r5006876
on (r5006875.n = r5006876.character_maximum_length )
inner join (select
r5006878.z as c5
from testxmlschema.test2 as r5006878
where r5006878.q >= r5006878.q) as subq_771817
on (r5006875.n = subq_771817.c5 )
right join public.shoelace_arrive as r5006879
on (r5006875.n = r5006879.arr_quant )
left join pg_catalog.pg_tablespace as r5006966
left join pg_catalog.pg_stat_user_functions as r5006967
on (r5006966.spcowner = r5006967.funcid )
inner join pg_catalog.pg_authid as r5006968
on (r5006967.funcname = r5006968.rolname )
on (subq_771817.c5 = r5006968.rolconnlimit )
where r5006875.n is NULL;

Attachment Content-Type Size
reloptinfo-error.sql application/sql 2.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2015-08-03 05:53:03 Re: Sharing aggregate states between different aggregate functions
Previous Message Michael Paquier 2015-08-03 05:30:46 Re: pageinspect patch, for showing tuple data