Re: Bug #954: select distinct array

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Bug #954: select distinct array
Дата
Msg-id 3EA6AEC5.4000805@joeconway.com
обсуждение исходный текст
Ответ на Bug #954: select distinct array  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org wrote:
> test_pg=# SELECT distinct id from array_test ;
> ERROR:  Unable to identify an ordering operator '<' for type 'integer[]'
>         Use an explicit ordering operator or modify the query
> test_pg=#

There is no bug here. As the error says, there is currently no ordering
operator for arrays. There is a *possibility* that it will change in
7.4. But it hasn't happened yet, and time is running short, so don't
count on it.

Joe

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: UNION Types Mismatch
Следующее
От: "Riaan van Jaarsveld"
Дата:
Сообщение: PostgreSQL 7.3 Installation Error