_text problem in union

Поиск
Список
Период
Сортировка
От Zakkr
Тема _text problem in union
Дата
Msg-id Pine.LNX.3.96.990927150619.8444A-100000@ara.zf.jcu.cz
обсуждение исходный текст
Ответы Re: [HACKERS] _text problem in union  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] _text problem in union  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,
I have small problem with text array in union query..     see:


abil=> select 5 union select 5;
?column?
--------      5
(1 row)

abil=> select 5 union select 6;
?column?
--------      5      6
(2 rows)

abil=> select '{"aaa"}'::_text union select '{"aaa"}'::_text;
?column?
--------
{"aaa"} 
(1 row)

abil=> select '{"aaa"}'::_text union select '{"bbb"}'::_text;
ERROR:  Unable to identify an ordering operator '<' for type '_text'       Use an explicit ordering operator or modify
thequery
 
abil=> 


... hmm, any suggestion?
                    Zakkr




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] double opens
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: TODO items (was Re: [COMMITTERS] pgsql/src/include/nodes (execnodes.h))