Update contrib/trgm_regexp's memory management.
Thomas Munro <tmunro@postgresql.org>
Update contrib/trgm_regexp's memory management. While no code change was necessary for this code to keep working, we don't need to use PG_TRY()/PG_FINALLY() with explicit clean-up while working with regexes anymore. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/CA%2BhUKGK3PGKwcKqzoosamn36YW-fsuTdOPPF1i_rtEO%3DnEYKSg%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_trgm/trgm_regexp.c | modified | +2 −15 |
Discussion
- Is RecoveryConflictInterrupt() entirely safe in a signal handler? 41 messages · 2022-04-09 → 2023-08-05