Re: operator does not exist: smallint <> smallint[]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: operator does not exist: smallint <> smallint[]
Дата
Msg-id 15229.1228836372@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: operator does not exist: smallint <> smallint[]  (Euler Taveira de Oliveira <euler@timbira.com>)
Список pgsql-hackers
Euler Taveira de Oliveira <euler@timbira.com> writes:
> Tom Lane escreveu:
>> It's entirely right: there's no such operator.
>> 
> Out of curiosity, why the other queries work?

The behavior is different depending on whether the argument of ANY/ALL
is a sub-SELECT or not.  If it is, then the comparisons are between the
LHS and the successive values produced by the sub-SELECT.  If it isn't,
then the RHS has to produce an array and the comparisons are to the
array elements.
        regards, tom lane


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

Предыдущее
От: "Robert Haas"
Дата:
Сообщение: Re: contrib/pg_stat_statements 1202
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: WIP: default values for function parameters