From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Hannu Krosing <hannu(at)tm(dot)ee> |
Cc: | Zakkr <zakkr(at)zf(dot)jcu(dot)cz>, pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] _text problem in union |
Date: | 1999-09-27 16:51:42 |
Message-ID: | 199909271651.MAA02457@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Bruce Momjian wrote:
> >
> > > 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 the query
> > > abil=>
> >
> > Good problem description. Seems we can't compare arrays of text fields.
> >
> > Seems if we have an array of text fields, we could compare each element
> > one-by-one using the base type until we get a comparison result.
> >
> > Not sure if this should make the TODO list or not.
>
> It woulf be better to have a generic array compare op, that just
> traverses
> both arrays comparing them with the "<" for base type
Yes, that was my idea. Is this a worthy TODO item?
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1999-09-27 16:52:54 | Re: [HACKERS] pg_upgrade may be mortally wounded |
Previous Message | Bruce Momjian | 1999-09-27 16:43:09 | Re: [HACKERS] Cannot insert into temp tables |