Re: Memory leak fix in psql - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Memory leak fix in psql
Date
Msg-id YtdFdN+m/QPdnK85@paquier.xyz
Whole thread Raw
In response to Re: Memory leak fix in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Jul 19, 2022 at 12:36:31PM -0400, Tom Lane wrote:
> Yeah, it's old school, but please let's not have a few functions that
> do it randomly differently from all their neighbors.

True enough.  And it is not like we should free the PQExpBuffer given
by the caller in validateSQLNamePattern().
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: [Commitfest 2022-07] Begins Now
Next
From: Michael Paquier
Date:
Subject: Re: Memory leak fix in psql