Re: BUG #12760: Lateral files with more than 2 laterals

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: BUG #12760: Lateral files with more than 2 laterals
Дата
Msg-id 20150210230833.GQ3854@tamriel.snowman.net
обсуждение исходный текст
Ответ на BUG #12760: Lateral files with more than 2 laterals  (moe1234512345@gmail.com)
Ответы Re: BUG #12760: Lateral files with more than 2 laterals
Список pgsql-bugs
* moe1234512345@gmail.com (moe1234512345@gmail.com) wrote:
> PostgreSQL version: 9.3.5

Happens in master too.

> set geqo_threshold  =3D 2;
>=20
> SELECT *
> FROM generate_series(1, 1) A,
> lateral ( SELECT B from generate_series(1, 1) B where B =3D A limit 1 ) AS
> B0,
> lateral ( SELECT C from generate_series(1, 1) C where C =3D A and C !=3D =
B limit
> 1 ) AS C0

The result is:

ERROR:  failed to join all relations together

Looks like an issue where GEQO and LATERAL don't get along. :/

    Thanks,

        Stephen

В списке pgsql-bugs по дате отправления:

Предыдущее
От: moe1234512345@gmail.com
Дата:
Сообщение: BUG #12760: Lateral files with more than 2 laterals
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #12760: Lateral files with more than 2 laterals