Re: Re: BUG #11178: JSONB : The NOT operator applies to the <@ operator, even after casting to ::bool
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Re: BUG #11178: JSONB : The NOT operator applies to the <@ operator, even after casting to ::bool |
| Дата | |
| Msg-id | 31620.1408161150@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: BUG #11178: JSONB : The NOT operator applies to the <@ operator, even after casting to ::bool (David G Johnston <david.g.johnston@gmail.com>) |
| Ответы |
Re: Re: BUG #11178: JSONB : The NOT operator applies to the
<@ operator, even after casting to ::bool
|
| Список | pgsql-bugs |
David G Johnston <david.g.johnston@gmail.com> writes:
> cpronovost wrote
>> When using the <@ operator in conjunction with the NOT operator on a jsonb
>> column, the NOT reverse the <@ operator(becomes a @>).
> The presence of "NOT" does not (aside from a possible bug) change the "<@"
> operator into the "@>" operator. "NOT" simply inverts the supplied boolean
> value so that "not(true) := false" and vice-versa.
That's what it's *supposed* to do, but somebody got the pg_operator entry
wrong. It looks to me like pg_operator OIDs 3246 and 3250 should be
listed as each others' commutators, not each others' negators.
Sigh. So much for no initdb for 9.4beta3. I wonder whether there are
other thinkos in the jsonb operator entries...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера