pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: maciek@heroku.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13539: ERROR: record type has not been registered with CTE and subselect in target list
Date: Thu, 06 Aug 2015 00:57:21 +0000
Message-ID: <20150806005721.855.4383@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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!


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)  latest in thread

Message-ID: <20150806005721.855.4383@wrigleys.postgresql.org>
Permalink:  ../20150806005721.855.4383@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20150806005721.855.4383@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: maciek@heroku.com
  Subject: Re: BUG #13539: ERROR: record type has not been registered with CTE and subselect in target list
  In-Reply-To: <20150806005721.855.4383@wrigleys.postgresql.org>
  References: <20150806005721.855.4383@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox