diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-08-25 11:06:34 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-08-25 11:06:34 -0400 |
commit | 373e08a9f771e724efd3bd29f78c39515792dcf3 (patch) | |
tree | 2d1f1632559b15004f42c26c2fcbda5abb7d64e1 /src/backend/regex/regexec.c | |
parent | a780b2fcce6cf45462946fffcd84021a4d1429c8 (diff) | |
download | postgresql-373e08a9f771e724efd3bd29f78c39515792dcf3.tar.gz postgresql-373e08a9f771e724efd3bd29f78c39515792dcf3.zip |
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
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions