Remove redundant test.
authorTom Lane
Wed, 25 Aug 2021 15:06:34 +0000 (11:06 -0400)
committerTom Lane
Wed, 25 Aug 2021 15:06:34 +0000 (11:06 -0400)
commited740b06b18e1a23becd54c97ff229aba4c94349
treea4855b80f05190a15c2b160ba03860efac3a54ca
parent11c1239881b399d1fe87186f1f8a10a505d4a692
Remove redundant test.

The condition "context_start < context_end" is strictly weaker
than "context_end - context_start >= 50", so we don't need both.
Oversight in commit ffd3944ab, noted by tanghy.fnst.

In passing, line-wrap a nearby test to make it more readable.

Discussion: https://postgr.es/m/OS0PR01MB61137C4054774F44E3A9DC89FBC69@OS0PR01MB6113.jpnprd01.prod.outlook.com
src/backend/utils/adt/jsonfuncs.c