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/os0pr01mb61137c4054774f44e3a9dc89fb...@os0pr01mb6113.jpnprd01.prod.outlook.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/373e08a9f771e724efd3bd29f78c39515792dcf3 Modified Files -------------- src/backend/utils/adt/jsonfuncs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)