Re: Clean up hba.c of code freeing regexps - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Clean up hba.c of code freeing regexps
Date
Msg-id 1216962.1681352742@sss.pgh.pa.us
Whole thread Raw
In response to Re: Clean up hba.c of code freeing regexps  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Clean up hba.c of code freeing regexps
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> On Thu, Apr 13, 2023 at 12:53:51PM +1200, Thomas Munro wrote:
>> and (2) I missed this when looking for manual memory
>> management code that could be nuked, probably because it's hiding
>> behind a few layers of functions call, but there are clearly comments
>> that are now wrong.  So there are two different ways for a commitfest
>> lawyer to argue this should be tidied up for 16.

> Yes, the comments are incorrect anyway.

+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.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Allow Postgres to pick an unused port to listen
Next
From: Tom Lane
Date:
Subject: Re: Add ps display while waiting for wal in read_local_xlog_page_guts