pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Miscellaneous cleanup of regular-expression compiler. 6+ messages / 1 participants [nested] [flat]
* pgsql: Miscellaneous cleanup of regular-expression compiler. @ 2015-10-16 19:56 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-10-16 19:56 UTC (permalink / raw) To: pgsql-committers Miscellaneous cleanup of regular-expression compiler. Revert our previous addition of "all" flags to copyins() and copyouts(); they're no longer needed, and were never anything but an unsightly hack. Improve a couple of infelicities in the REG_DEBUG code for dumping the NFA data structure, including adding code to count the total number of states and arcs. Add a couple of missed error checks. Add some more documentation in the README file, and some regression tests illustrating cases that exceeded the state-count limit and/or took unreasonable amounts of time before this set of patches. Back-patch to all supported branches. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/afdfcd3f7617c9b7be5966d66ddabdc2e92eb99b Modified Files -------------- src/backend/regex/README | 95 +++++++++++++++++++++++++++++++---- src/backend/regex/regc_nfa.c | 55 +++++++------------- src/backend/regex/regcomp.c | 11 ++-- src/test/regress/expected/regex.out | 35 +++++++++++++ src/test/regress/sql/regex.sql | 11 ++++ 5 files changed, 153 insertions(+), 54 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Miscellaneous cleanup of regular-expression compiler. @ 2015-10-16 19:56 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-10-16 19:56 UTC (permalink / raw) To: pgsql-committers Miscellaneous cleanup of regular-expression compiler. Revert our previous addition of "all" flags to copyins() and copyouts(); they're no longer needed, and were never anything but an unsightly hack. Improve a couple of infelicities in the REG_DEBUG code for dumping the NFA data structure, including adding code to count the total number of states and arcs. Add a couple of missed error checks. Add some more documentation in the README file, and some regression tests illustrating cases that exceeded the state-count limit and/or took unreasonable amounts of time before this set of patches. Back-patch to all supported branches. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/6a7a2ee77731fa21ef10a6f1cb7c3df727632d5d Modified Files -------------- src/backend/regex/README | 95 +++++++++++++++++++++++++++++++---- src/backend/regex/regc_nfa.c | 55 +++++++------------- src/backend/regex/regcomp.c | 11 ++-- src/test/regress/expected/regex.out | 35 +++++++++++++ src/test/regress/sql/regex.sql | 11 ++++ 5 files changed, 153 insertions(+), 54 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Miscellaneous cleanup of regular-expression compiler. @ 2015-10-16 19:56 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-10-16 19:56 UTC (permalink / raw) To: pgsql-committers Miscellaneous cleanup of regular-expression compiler. Revert our previous addition of "all" flags to copyins() and copyouts(); they're no longer needed, and were never anything but an unsightly hack. Improve a couple of infelicities in the REG_DEBUG code for dumping the NFA data structure, including adding code to count the total number of states and arcs. Add a couple of missed error checks. Add some more documentation in the README file, and some regression tests illustrating cases that exceeded the state-count limit and/or took unreasonable amounts of time before this set of patches. Back-patch to all supported branches. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/f189747d4692bddc2f07c622d7d83b1bcbf48fbf Modified Files -------------- src/backend/regex/README | 95 +++++++++++++++++++++++++++++++---- src/backend/regex/regc_nfa.c | 55 +++++++------------- src/backend/regex/regcomp.c | 11 ++-- src/test/regress/expected/regex.out | 35 +++++++++++++ src/test/regress/sql/regex.sql | 11 ++++ 5 files changed, 153 insertions(+), 54 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Miscellaneous cleanup of regular-expression compiler. @ 2015-10-16 19:56 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-10-16 19:56 UTC (permalink / raw) To: pgsql-committers Miscellaneous cleanup of regular-expression compiler. Revert our previous addition of "all" flags to copyins() and copyouts(); they're no longer needed, and were never anything but an unsightly hack. Improve a couple of infelicities in the REG_DEBUG code for dumping the NFA data structure, including adding code to count the total number of states and arcs. Add a couple of missed error checks. Add some more documentation in the README file, and some regression tests illustrating cases that exceeded the state-count limit and/or took unreasonable amounts of time before this set of patches. Back-patch to all supported branches. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/4528f9d69dd2030c8a02218f7e483264627e9ef4 Modified Files -------------- src/backend/regex/README | 95 +++++++++++++++++++++++++++++++---- src/backend/regex/regc_nfa.c | 55 +++++++------------- src/backend/regex/regcomp.c | 11 ++-- src/test/regress/expected/regex.out | 35 +++++++++++++ src/test/regress/sql/regex.sql | 11 ++++ 5 files changed, 153 insertions(+), 54 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Miscellaneous cleanup of regular-expression compiler. @ 2015-10-16 19:56 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-10-16 19:56 UTC (permalink / raw) To: pgsql-committers Miscellaneous cleanup of regular-expression compiler. Revert our previous addition of "all" flags to copyins() and copyouts(); they're no longer needed, and were never anything but an unsightly hack. Improve a couple of infelicities in the REG_DEBUG code for dumping the NFA data structure, including adding code to count the total number of states and arcs. Add a couple of missed error checks. Add some more documentation in the README file, and some regression tests illustrating cases that exceeded the state-count limit and/or took unreasonable amounts of time before this set of patches. Back-patch to all supported branches. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/2419ab8aa99b46bdf3a401501b5488b28870ee39 Modified Files -------------- src/backend/regex/README | 95 +++++++++++++++++++++++++++++++---- src/backend/regex/regc_nfa.c | 55 +++++++------------- src/backend/regex/regcomp.c | 11 ++-- src/test/regress/expected/regex.out | 35 +++++++++++++ src/test/regress/sql/regex.sql | 11 ++++ 5 files changed, 153 insertions(+), 54 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Miscellaneous cleanup of regular-expression compiler. @ 2015-10-16 19:56 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-10-16 19:56 UTC (permalink / raw) To: pgsql-committers Miscellaneous cleanup of regular-expression compiler. Revert our previous addition of "all" flags to copyins() and copyouts(); they're no longer needed, and were never anything but an unsightly hack. Improve a couple of infelicities in the REG_DEBUG code for dumping the NFA data structure, including adding code to count the total number of states and arcs. Add a couple of missed error checks. Add some more documentation in the README file, and some regression tests illustrating cases that exceeded the state-count limit and/or took unreasonable amounts of time before this set of patches. Back-patch to all supported branches. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/4083a52f4173b87a883537a1e2957413c2aebd9e Modified Files -------------- src/backend/regex/regc_nfa.c | 55 +++++++++++++----------------------------- src/backend/regex/regcomp.c | 11 +++++---- 2 files changed, 23 insertions(+), 43 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2015-10-16 19:56 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-10-16 19:56 pgsql: Miscellaneous cleanup of regular-expression compiler. Tom Lane <tgl@sss.pgh.pa.us> 2015-10-16 19:56 pgsql: Miscellaneous cleanup of regular-expression compiler. Tom Lane <tgl@sss.pgh.pa.us> 2015-10-16 19:56 pgsql: Miscellaneous cleanup of regular-expression compiler. Tom Lane <tgl@sss.pgh.pa.us> 2015-10-16 19:56 pgsql: Miscellaneous cleanup of regular-expression compiler. Tom Lane <tgl@sss.pgh.pa.us> 2015-10-16 19:56 pgsql: Miscellaneous cleanup of regular-expression compiler. Tom Lane <tgl@sss.pgh.pa.us> 2015-10-16 19:56 pgsql: Miscellaneous cleanup of regular-expression compiler. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox