Re: Unable to identify an ordering operator '<' for type 'smallint[]'
В списке pgsql-sql по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Unable to identify an ordering operator '<' for type 'smallint[]' |
| Дата | |
| Msg-id | 20302.1137003871@sss.pgh.pa.us обсуждение |
| Ответ на | Unable to identify an ordering operator '<' for type 'smallint[]' ("Mauricio Fernandez A." <mfacontacto@ono.com>) |
| Ответы |
Re: Unable to identify an ordering operator '<' for type 'smallint[]'
|
| Список | pgsql-sql |
"Mauricio Fernandez A." <mfacontacto@ono.com> writes:
> The only strange thing in the query is that ac.potencialpacientes is
> smallint[] (in fact is the only thing with sense I can see in the error
> message) but I am not using the '<' operator as it suggest.
No, but you're trying to GROUP BY ac.potencialpacientes, and in 7.3 the
only way to do grouping is sort/unique. So you have to be able to sort
the datatype, and 7.3 doesn't have code to do comparison of arrays.
> Can somebody help me?.
Upgrade. 7.3 is pretty ancient anyway. Quite aside from lack of features,
its performance is poor compared to 8.1.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера