pgsql: Prevent regexp back-refs from sometimes matching when they shoul

2021-08-23 Thread Tom Lane
Prevent regexp back-refs from sometimes matching when they shouldn't. The recursion in cdissect() was careless about clearing match data for capturing parentheses after rejecting a partial match. This could allow a later back-reference to succeed when by rights it should fail for lack of a define

pgsql: Prevent regexp back-refs from sometimes matching when they shoul

2021-08-23 Thread Tom Lane
Prevent regexp back-refs from sometimes matching when they shouldn't. The recursion in cdissect() was careless about clearing match data for capturing parentheses after rejecting a partial match. This could allow a later back-reference to succeed when by rights it should fail for lack of a define

pgsql: Prevent regexp back-refs from sometimes matching when they shoul

2021-08-23 Thread Tom Lane
Prevent regexp back-refs from sometimes matching when they shouldn't. The recursion in cdissect() was careless about clearing match data for capturing parentheses after rejecting a partial match. This could allow a later back-reference to succeed when by rights it should fail for lack of a define

pgsql: Prevent regexp back-refs from sometimes matching when they shoul

2021-08-23 Thread Tom Lane
Prevent regexp back-refs from sometimes matching when they shouldn't. The recursion in cdissect() was careless about clearing match data for capturing parentheses after rejecting a partial match. This could allow a later back-reference to succeed when by rights it should fail for lack of a define

pgsql: Prevent regexp back-refs from sometimes matching when they shoul

2021-08-23 Thread Tom Lane
Prevent regexp back-refs from sometimes matching when they shouldn't. The recursion in cdissect() was careless about clearing match data for capturing parentheses after rejecting a partial match. This could allow a later back-reference to succeed when by rights it should fail for lack of a define

pgsql: Prevent regexp back-refs from sometimes matching when they shoul

2021-08-23 Thread Tom Lane
Prevent regexp back-refs from sometimes matching when they shouldn't. The recursion in cdissect() was careless about clearing match data for capturing parentheses after rejecting a partial match. This could allow a later back-reference to succeed when by rights it should fail for lack of a define

pgsql: Prevent regexp back-refs from sometimes matching when they shoul

2021-08-23 Thread Tom Lane
Prevent regexp back-refs from sometimes matching when they shouldn't. The recursion in cdissect() was careless about clearing match data for capturing parentheses after rejecting a partial match. This could allow a later back-reference to succeed when by rights it should fail for lack of a define