]> granicus.if.org Git - postgresql/commit
Merge dissect() into cdissect() to remove a pile of near-duplicate code.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 24 Feb 2012 21:26:10 +0000 (16:26 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 24 Feb 2012 23:40:31 +0000 (18:40 -0500)
commit4dd78bf37aa29d04b3f358b08c4a2fa43cf828e7
tree2cab7b32d4952c16a0a403d699ad35e4c65a92af
parent587359479acbbdc95c8e37da40707e37097423f5
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.
src/backend/regex/regexec.c