Re: Unnecessary call to resetPQExpBuffer in getIndexes - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Unnecessary call to resetPQExpBuffer in getIndexes
Date
Msg-id 4da1c5ac-b476-285e-012c-86440d8c3999@enterprisedb.com
Whole thread Raw
In response to Re: Unnecessary call to resetPQExpBuffer in getIndexes  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
On 09.02.22 19:21, Nathan Bossart wrote:
> On Wed, Feb 09, 2022 at 10:50:07AM +0800, Julien Rouhaud wrote:
>> I just noticed that e2c52beecd (adding PeterE in Cc) added a resetPQExpBuffer()
>> which seems unnecessary since the variable is untouched since the initial
>> createPQExpBuffer().
>>
>> Simple patch attached.
> 
> LGTM

committed



pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Plug minor memleak in pg_dump
Next
From: Bharath Rupireddy
Date:
Subject: Remove 'IN' from pg_freespace docs for consistency