pgsql: Remove unnecessary check for jbvBinary in convertJsonbValue.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove unnecessary check for jbvBinary in convertJsonbValue.
Date: 2014-06-18 23:32:43
Message-ID: E1WxPLP-0007bG-Pv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unnecessary check for jbvBinary in convertJsonbValue.

The check was confusing and is a condition that should never in fact
happen.

Per gripe from Dmitry Dolgov.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/960661980beb50c5d21e4b2855ae109e9a130326

Modified Files
--------------
src/backend/utils/adt/jsonb_util.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2014-06-18 23:32:52 pgsql: Remove unnecessary check for jbvBinary in convertJsonbValue.
Previous Message Robert Haas 2014-06-18 20:38:09 Re: [COMMITTERS] pgsql: Reduce the number of semaphores used under --disable-spinlocks.