Re: Bug in comparison of empty jsonb arrays to scalars

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)ru>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug in comparison of empty jsonb arrays to scalars
Date: 2016-11-09 22:37:37
Message-ID: 32156.1478731057@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Paquier <michael(dot)paquier(at)gmail(dot)com> writes:
> On Thu, Nov 10, 2016 at 3:27 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> https://www.postgresql.org/docs/current/static/datatype-json.html

> Indeed, I missed that. So that's broken...

Given that nobody actually cares what that sort order is, I think that
having to jump through hoops in pg_upgrade in order to fix it is not a
great tradeoff. I suggest changing the documentation to match the code.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Clifford Hammerschmidt 2016-11-09 23:18:05 Re: C based plugins, clocks, locks, and configuration variables
Previous Message Michael Paquier 2016-11-09 22:15:45 Re: Bug in comparison of empty jsonb arrays to scalars