Re: Clean up hba.c of code freeing regexps

Bertrand Drouvot <bertranddrouvot.pg@gmail.com>

From: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
To: Michael Paquier <michael@paquier.xyz>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@gmail.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-04-13T06:26:51Z
Lists: pgsql-hackers
Hi,

On 4/13/23 5:48 AM, Michael Paquier wrote:
> On Wed, Apr 12, 2023 at 10:25:42PM -0400, Tom Lane wrote:
>> +1 for cleanup, if this is new code.  It does us no good in the long
>> run for v16 to handle this differently from both earlier and later
>> versions.
> 
> Okidoki.  Let me know if anybody has an objection about what's been
> sent upthread.  The sooner, the better I guess..

Thanks for the patch, nice catch related to db4f21e.

I had a look at the patch you shared up-thread and it looks good to me.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



Commits

  1. Remove code in charge of freeing regexps generation by Lab.c