BUG #13539: ERROR: record type has not been registered with CTE and subselect in target list

Поиск
Список
Период
Сортировка
От maciek@heroku.com
Тема BUG #13539: ERROR: record type has not been registered with CTE and subselect in target list
Дата
Msg-id 20150806005721.855.4383@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #13539: ERROR: record type has not been registered with CTE and subselect in target list
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13539
Logged by:          Maciek Sakrejda
Email address:      maciek@heroku.com
PostgreSQL version: 9.4.4
Operating system:   Ubuntu 15.04
Description:

I'm not sure if this is a legitimate bug, but the error message is unclear.
I've searched for this message and have seen reports of similar errors, but
the SQL is somewhat different, so I thought I'd report it:

maciek=# with foo(a) as (select 1) select (select (foo) from foo).* from
foo;
ERROR:  record type has not been registered

I know how to work around it; just reporting it in the hope of maybe getting
a clearer error.

Thanks!

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

Предыдущее
От: Marko Kreen
Дата:
Сообщение: Re: [9.4] SELECT repeatedly rewrites a table
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #13539: ERROR: record type has not been registered with CTE and subselect in target list