Re: Unnecessary call to resetPQExpBuffer in getIndexes

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Unnecessary call to resetPQExpBuffer in getIndexes
Date: 2022-02-10 11:53:15
Message-ID: 20220210115315.zlrzxuo5bvhm7iro@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Feb 10, 2022 at 12:25:36PM +0100, Peter Eisentraut wrote:
> 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

Thanks!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2022-02-10 12:01:55 Refactor CheckpointWriteDelay()
Previous Message Andrey Lepikhov 2022-02-10 11:50:31 Re: Merging statistics from children instead of re-sampling everything