Re: Unnecessary call to resetPQExpBuffer in getIndexes

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>, Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Unnecessary call to resetPQExpBuffer in getIndexes
Date: 2022-02-10 11:25:36
Message-ID: 4da1c5ac-b476-285e-012c-86440d8c3999@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2022-02-10 11:26:09 Remove 'IN' from pg_freespace docs for consistency
Previous Message Ranier Vilela 2022-02-10 11:14:13 Re: Plug minor memleak in pg_dump