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

From: maciek(at)heroku(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13539: ERROR: record type has not been registered with CTE and subselect in target list
Date: 2015-08-06 00:57:21
Message-ID: 20150806005721.855.4383@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 13539
Logged by: Maciek Sakrejda
Email address: maciek(at)heroku(dot)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!

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2015-08-06 03:21:31 Re: BUG #13539: ERROR: record type has not been registered with CTE and subselect in target list
Previous Message Marko Kreen 2015-08-05 11:23:19 Re: [9.4] SELECT repeatedly rewrites a table