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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable
Дата
Msg-id 3854.1251386282@sss.pgh.pa.us
обсуждение исходный текст
Ответ на resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable  (rawi <only4com@web.de>)
Ответы hopeless, SQL not resolved yet
Re: resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable
Список pgsql-sql
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


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

Предыдущее
От: rawi
Дата:
Сообщение: resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable