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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Merge dissect() into cdissect() to remove a pile of near-duplica
Date: 2012-02-24 23:40:56
Message-ID: E1S14ky-0004cI-UU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2012-02-25 14:33:14 pgsql: Make each pg_stat_ view into it's own table in the documentation
Previous Message Bruce Momjian 2012-02-24 21:19:28 pgsql: Mention original ctags option name.