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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Merge dissect() into cdissect() to remove a pile of near-duplica
Дата
Msg-id E1S14ky-0004cI-UU@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Mention original ctags option name.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove useless "retry memory" logic within regex engine.