Re: User-defined Operator Pushdown and Collations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: User-defined Operator Pushdown and Collations
Дата
Msg-id 24410.1480276233@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: User-defined Operator Pushdown and Collations  (Paul Ramsey <pramsey@cleverelephant.ca>)
Ответы Re: User-defined Operator Pushdown and Collations
Список pgsql-hackers
Paul Ramsey <pramsey@cleverelephant.ca> writes:
> On Sun, Nov 27, 2016 at 9:31 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Why doesn't hs_fdw.h have a collation?

> I think I'm missing something, I cannot find a file like that anywhere.

I was referring to the variable shown in your EXPLAIN.

> With respect to this particular example, is this a case of a very large
> collation hammer getting in the way? Both '->' and '=' are operators that
> would be unaffected by collation, right? They are both just equality-based
> tests. But all operators are getting tested for coherent collation
> behaviour, so they get caught up in the net?

Yeah, we don't know whether the operator actually cares about its input
collation.  It'd be possible to be much more liberal if we knew it did
not, but such labeling was not included in the design for the collation
facility.  That might've been a mistake ...
        regards, tom lane



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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: RFC Changing the version number for JDBC
Следующее
От: David Fetter
Дата:
Сообщение: Re: pg_config --version