git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 538b3b8) | patch
Miscellaneous cleanup of regular-expression compiler.
2015年10月16日 19:52:12 +0000 (15:52 -0400)
2015年10月16日 19:55:59 +0000 (15:55 -0400)
commit afdfcd3f7617c9b7be5966d66ddabdc2e92eb99b
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.
src/backend/regex/README diff | blob | blame | history
src/backend/regex/regc_nfa.c diff | blob | blame | history
src/backend/regex/regcomp.c diff | blob | blame | history
src/test/regress/expected/regex.out diff | blob | blame | history
src/test/regress/sql/regex.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /