pgsql: Update tsearch regex memory management.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Update tsearch regex memory management.
Дата
Msg-id E1pl5e7-0021kw-Q8@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4f51429dd7f194e36af32b557ecdce555b5ab51b

Modified Files
--------------
src/backend/tsearch/spell.c       | 34 +++++++---------------------------
src/include/tsearch/dicts/spell.h | 18 ++++++------------
2 files changed, 13 insertions(+), 39 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: TAP test for logical decoding on standby
Следующее
От: Stephen Frost
Дата:
Сообщение: pgsql: Revert "Add support for Kerberos credential delegation"