pgsql: Update contrib/trgm_regexp's memory management.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Update contrib/trgm_regexp's memory management.
Date: 2023-04-08 10:18:13
Message-ID: E1pl5e7-0021kz-Qd@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2023-04-08 11:24:10 pgsql: Revert "Add support for Kerberos credential delegation"
Previous Message Andres Freund 2023-04-08 09:26:51 pgsql: TAP test for logical decoding on standby