Re: IN, BETWEEN, spec compliance, and odd operator names

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: IN, BETWEEN, spec compliance, and odd operator names
Дата
Msg-id 200808251717.19878.peter_e@gmx.net
обсуждение исходный текст
Ответ на IN, BETWEEN, spec compliance, and odd operator names  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Monday 25 August 2008 04:24:23 Tom Lane wrote:
> Seems to me that what this boils down to is whether we want to read the
> spec literally ("it says the construct is defined in terms of operators
> named >= and <=, therefore we should do that") or by intent (obviously
> what they *want* is a construct that behaves sensibly in terms of the
> datatype's semantics).

I would be generally in favor of moving more toward a semantics-based approach 
instead of a name-based approach.

It would be interesting to see an enumeration of all the parts of the system 
that hardcode operator names.  Based on that we might gain more insight into 
what it would take to go one way or another.


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: can't stop autovacuum by HUP'ing the server
Следующее
От: Tom Lane
Дата:
Сообщение: Re: IN, BETWEEN, spec compliance, and odd operator names