Re: resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: rawi <only4com(at)web(dot)de>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable
Date: 2009-08-27 15:18:02
Message-ID: 3854.1251386282@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

rawi <only4com(at)web(dot)de> writes:
> The Error was caused because I used UNION in place of UNION ALL.

> I still don't understand why the ARRAY (path) could not be grouped...

Yeah, it's an unimplemented feature --- there's no hashing support for
arrays. I hope to get that done for 8.5. In the meantime you have
to use UNION ALL there. If you really need to eliminate duplicate
rows, you can do that via DISTINCT in the outer query.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Rob Sargent 2009-08-27 15:27:56 Re: resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable
Previous Message rawi 2009-08-27 14:16:49 resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable