Re: [HACKERS] jsonb problematic operators

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] jsonb problematic operators
Дата
Msg-id 6006.1481518370@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] jsonb problematic operators  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: [HACKERS] jsonb problematic operators  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
Craig Ringer <craig@2ndquadrant.com> writes:
> It's definitely annoying, in both directions. ? wasn't a great choice
> for an operator character but it's logical and was grandfathered over
> from hstore.

It was grandfathered from a lot further back than that.  A quick look
into the system catalogs says that core Postgres currently has 21
operators that include "?" in their names.  Three of those are the
jsonb operators, and the other 18 have been there since circa 1997.
(Most of them seem to date to Tom Lockhart's commit 3c2d74d2a, but
"<?>" is present in Berkeley Postgres v4r2, released in 1994.)

I do not have a lot of patience with client-side code that's unable
to deal with operator names containing "?".  It's not like this
requirement has blindsided anybody in this century.
        regards, tom lane



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Hash Indexes
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: [HACKERS] Hash Indexes