pgsql: Merge dissect() into cdissect() to remove a pile of near-duplica - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Merge dissect() into cdissect() to remove a pile of near-duplica
Date
Msg-id E1S14ky-0004cI-UU@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Merge dissect() into cdissect() to remove a pile of near-duplicate code.

The "uncomplicated" case isn't materially less complicated than the full
case, certainly not enough so to justify duplicating nearly 500 lines
of code.  The only extra work being done in the full path is zaptreesubs,
which is very cheap compared to everything else being done here, and
besides that I'm less than convinced that it's not needed in some cases
even without backrefs.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4dd78bf37aa29d04b3f358b08c4a2fa43cf828e7

Modified Files
--------------
src/backend/regex/regexec.c |  626 ++++++-------------------------------------
1 files changed, 77 insertions(+), 549 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Mention original ctags option name.
Next
From: Tom Lane
Date:
Subject: pgsql: Remove useless "retry memory" logic within regex engine.