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:52
Message-ID: E1WxPLY-0007bv-SN@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
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a6896e00058c55692347f898a9bc2a2974520df8

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 Tom Lane 2014-06-19 00:13:14 pgsql: Improve our mechanism for controlling the Linux out-of-memory ki
Previous Message Andrew Dunstan 2014-06-18 23:32:43 pgsql: Remove unnecessary check for jbvBinary in convertJsonbValue.