Commit Graph

226 Commits (cc721c459d3783bbdb4beb1bbfa802a5328d15a2)

Author SHA1 Message Date
Jeff Davis d3d0983169 Support PG_UNICODE_FAST locale in the builtin collation provider. 11 months ago
Bruce Momjian 50e6eb731d Update copyright for 2025 12 months ago
Peter Eisentraut 1eb7cb21c2 Remove pgrminclude annotations 1 year ago
Peter Eisentraut 792b2c7e6d Remove pg_regex_collation 1 year ago
Tom Lane b69bdcee9c Avoid assertion due to disconnected NFA sub-graphs in regex parsing. 1 year ago
Jeff Davis b0c30612c5 Simplify checks for deterministic collations. 1 year ago
Jeff Davis 51edc4ca54 Remove lc_ctype_is_c(). 1 year ago
Jeff Davis 7829f85a62 Be more careful with error paths in pg_set_regex_collation(). 1 year ago
Michael Paquier 23138284cd Rename enum labels of PG_Locale_Strategy 1 year ago
Jeff Davis e9931bfb75 Remove support for null pg_locale_t most places. 1 year ago
Jeff Davis 2e68077b07 Refactor pg_set_regex_collation() for clarity. 1 year ago
Jeff Davis f69319f2f1 Support C.UTF-8 locale in the new builtin collation provider. 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Peter Eisentraut 611806cd72 Add trailing commas to enum definitions 2 years ago
Thomas Munro 8d9a9f034e All supported systems have locale_t. 2 years ago
Tom Lane 0245f8db36 Pre-beta mechanical code beautification. 3 years ago
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