Commit Graph

210 Commits (1d369c9e90f311ec98b07a259cac48c404c773d5)

Author SHA1 Message Date
Jeff Davis c04c6c5d6f Avoid character classification in regex escape parsing. 3 years ago
Thomas Munro db4f21e4a3 Redesign interrupt/cancel API for regex engine. 3 years ago
Thomas Munro bea3d7e383 Use MemoryContext API for regex memory management. 3 years ago
Jeff Davis 6974a8f768 Refactor to introduce pg_locale_deterministic(). 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Andrew Dunstan 8284cf5f74 Add copyright notices to meson files 3 years ago
Andres Freund 03bf971d2d Remove uses of register due to incompatibility with C++17 and up 3 years ago
Andres Freund e6927270cd meson: Add initial version of meson based build system 3 years ago
Peter Geoghegan cb8ff7ed5a Consistently use named parameters in regex code consistently. 3 years ago
Peter Geoghegan bc2187ed63 Consistently use named parameters in regex code. 3 years ago
Tom Lane f25bed3801 Defend against stack overrun in a few more places. 3 years ago
Peter Eisentraut 02c408e21a Remove redundant null pointer checks before free() 4 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 4 years ago
Peter Eisentraut b99ccd2cb2 Call pg_newlocale_from_collation() also with default collation 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Tom Lane e757080e04 Make pg_regexec() robust against out-of-range search_start. 4 years ago
Tom Lane 10d58228bb Doc: add a little about LACON execution to src/backend/regex/README. 4 years ago
Tom Lane 8f72becd6b Handle interaction of regexp's makesearch and MATCHALL more honestly. 4 years ago
Tom Lane 65dc30ced6 Fix regexp misbehavior with capturing parens inside "{0}". 4 years ago
Tom Lane 9bbf6f7341 Prevent regexp back-refs from sometimes matching when they shouldn't. 4 years ago
Tom Lane facce1da91 Fix performance bug in regexp's citerdissect/creviterdissect. 4 years ago
Tom Lane 78a843f119 Improve regex compiler's arc moving/copying logic. 4 years ago
Tom Lane 0e6aa8747d Avoid determining regexp subexpression matches, when possible. 4 years ago
Tom Lane 00116dee5a Rethink regexp engine's backref-related compilation state. 4 years ago
Tom Lane cb76fbd7ec Make regexp engine's backref-related compilation state more bulletproof. 4 years ago
Tom Lane cc1868799c Fix use-after-free issue in regexp engine. 4 years ago
Tom Lane f68970e33f Fix performance issue in new regex match-all detection code. 5 years ago
Tom Lane 6c20bdb2a2 Further tweak memory management for regex DFAs. 5 years ago
Tom Lane 4604f83fdf Suppress unnecessary regex subre nodes in a couple more cases. 5 years ago
Tom Lane 0c3405cf11 Improve performance of regular expression back-references. 5 years ago
Tom Lane 4aea704a5b Fix semantics of regular expression back-references. 5 years ago
Tom Lane 0fc1af174c Improve memory management in regex compiler. 5 years ago
Tom Lane 301ed8812e Doc: remove src/backend/regex/re_syntax.n. 5 years ago
Tom Lane 7dc13a0f08 Change regex \D and \W shorthands to always match newlines. 5 years ago
Tom Lane 2a0af7fe46 Allow complemented character class escapes within regex brackets. 5 years ago
Tom Lane 3db05e76f9 Suppress compiler warning in new regex match-all detection code. 5 years ago
Tom Lane 190c79884a Simplify memory management for regex DFAs a little. 5 years ago
Tom Lane ea1268f630 Avoid generating extra subre tree nodes for capturing parentheses. 5 years ago
Tom Lane 5810430894 Convert regex engine's subre tree from binary to N-ary style. 5 years ago
Tom Lane cebc1d34e5 Fix regex engine to suppress useless concatenation sub-REs. 5 years ago
Tom Lane 824bf71902 Recognize "match-all" NFAs within the regex engine. 5 years ago
Tom Lane 08c0d6ad65 Invent "rainbow" arcs within the regex engine. 5 years ago
Tom Lane b5a66e7353 Fix another ancient bug in parsing of BRE-mode regular expressions. 5 years ago
Tom Lane 4e703d6719 Make some minor improvements in the regex code. 5 years ago
Tom Lane 2dd6733108 Minor fixes to improve regex debugging code. 5 years ago
Tom Lane afcc8772ed Fix ancient bug in parsing of BRE-mode regular expressions. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Alvaro Herrera 17cc133f01
Dial back -Wimplicit-fallthrough to level 3 6 years ago
Alvaro Herrera 3e9744465d
Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago