seitime-frappe/frappe/database/postgres
Gavin D'souza b696fa6da5 perf: Pre-compile and re-use regexp pattern
Converted all possible usages of re.* that weren't compiling the regex
separately and re-using it. Separated out the compiled patterns as
global variables. Repetitive patterns could be made DRY-er.

Would be nicer to have all regexes in a single module so that we could
re-use better, keep track of outdated, and keep checks for possible
reDos' etc
2022-06-08 14:07:38 +05:30
..
__init__.py Postgres support for Frappe (#5919) 2018-09-21 10:20:48 +05:30
database.py perf: Pre-compile and re-use regexp pattern 2022-06-08 14:07:38 +05:30
framework_postgres.sql fix: set translated text to link field (#15451) 2022-05-16 13:21:42 +00:00
schema.py refactor(minor): convert change_name_type_and_make_sequence function to setup_autoincrement_and_sequence method 2022-05-13 00:03:19 +05:30
setup_db.py fix: restart transaction after commit 2022-06-05 00:26:12 +05:30