Re: Bug in comparison of empty jsonb arrays to scalars

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Bug in comparison of empty jsonb arrays to scalars
Дата
Msg-id CA+Tgmoa-DnyK1NFdAWSh3x-YWYvtzEjLjmYRoQbTn-EtybfM_g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Bug in comparison of empty jsonb arrays to scalars  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Bug in comparison of empty jsonb arrays to scalars
Список pgsql-hackers
On Tue, Nov 8, 2016 at 9:49 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Wed, Nov 9, 2016 at 8:31 AM, Nikita Glukhov <n.gluhov@postgrespro.ru> wrote:
>> Hi hackers.
>>
>> While working on jsonbstatistics, I found the following bug:
>> an empty jsonb array is considered to be lesser than any scalar,
>> but it is expected that objects > arrays > scalars.
>
> Sources?

How about "our documentation"?

https://www.postgresql.org/docs/current/static/datatype-json.html

Look at the last page.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Danger of automatic connection reset in psql
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: patch proposal