diff options
author | Thomas Munro <tmunro@postgresql.org> | 2023-04-08 21:54:45 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2023-04-08 22:09:17 +1200 |
commit | 4f51429dd7f194e36af32b557ecdce555b5ab51b (patch) | |
tree | 9c943ba73757fe45411d798fc1a87061e2211d0b /src/include/regex/regguts.h | |
parent | bea3d7e3831fa6a1395eadbad7d97cebc7aa8aee (diff) | |
download | postgresql-4f51429dd7f194e36af32b557ecdce555b5ab51b.tar.gz postgresql-4f51429dd7f194e36af32b557ecdce555b5ab51b.zip |
Update tsearch regex memory management.
Now that our regex engine uses palloc(), it's not necessary to set up a
special memory context callback to free compiled regexes. The regex has
no resources other than the memory that is already going to be freed in
bulk.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CA%2BhUKGK3PGKwcKqzoosamn36YW-fsuTdOPPF1i_rtEO%3DnEYKSg%40mail.gmail.com
Diffstat (limited to 'src/include/regex/regguts.h')
0 files changed, 0 insertions, 0 deletions