pgsql: Update contrib/trgm_regexp's memory management. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Update contrib/trgm_regexp's memory management.
Date
Msg-id E1pl5e7-0021kz-Qd@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6db75edb2ecbc9f6912f90b671b01ab4ac3a01b0

Modified Files
--------------
contrib/pg_trgm/trgm_regexp.c | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: TAP test for logical decoding on standby
Next
From: Stephen Frost
Date:
Subject: pgsql: Revert "Add support for Kerberos credential delegation"