pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: rawi <only4com@web.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable
Date: Thu, 27 Aug 2009 11:18:02 -0400
Message-ID: <3854.1251386282@sss.pgh.pa.us> (raw)
In-Reply-To: <25168751.post@talk.nabble.com>
References: <25167538.post@talk.nabble.com>
	<25168751.post@talk.nabble.com>

rawi <only4com@web.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



view thread (5+ messages)  latest in thread

Message-ID: <3854.1251386282@sss.pgh.pa.us>
Permalink:  ../3854.1251386282@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3854.1251386282@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, only4com@web.de
  Subject: Re: resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable
  In-Reply-To: <3854.1251386282@sss.pgh.pa.us>

* 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