Re: [GENERAL] is this a known bug in 9.6? - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] is this a known bug in 9.6?
Date
Msg-id 31684.1481643109@sss.pgh.pa.us
Whole thread Raw
In response to [GENERAL] is this a known bug in 9.6?  (Torsten Förtsch <tfoertsch123@gmail.com>)
Responses Re: [GENERAL] is this a known bug in 9.6?
Re: [GENERAL] is this a known bug in 9.6?
Re: [GENERAL] is this a known bug in 9.6?
List pgsql-general
=?UTF-8?Q?Torsten_F=C3=B6rtsch?= <tfoertsch123@gmail.com> writes:
> postgres=# with i(x) as (values (1::int)), j(y) as (values (2::int)) select
> x from (select x from i union all select y from j) b;
> x
> ---
> 1
> 2
> (2 rows)

> postgres=# with i(x) as (values (1::int)), j(y) as (values (2::int)) select
> max(x) from (select x from i union all select y from j) b;
> ERROR:  could not find plan for CTE "i"

Yup, sure looks like a bug to me, especially since it seems to work as
expected before 9.5.  No idea offhand what broke it.

            regards, tom lane


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] When updating row that has TOAST column, is the TOAST column also reinserted ? Or just the oid to the value?
Next
From: Marc Mamin
Date:
Subject: Re: [GENERAL] is this a known bug in 9.6?