Re: small improvement of the elapsed time for truncating heap in vacuum

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Kasahara Tatsuhito <kasahara.tatsuhito@gmail.com>, Masahiko Sawada <masahiko.sawada@2ndquadrant.com>
Cc: Fujii Masao <masao.fujii@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-02-17T08:52:46Z
Lists: pgsql-hackers

On 2020/02/17 14:28, Kasahara Tatsuhito wrote:
> Hi,
> 
> On Mon, Feb 17, 2020 at 1:07 PM Masahiko Sawada
> <masahiko.sawada@2ndquadrant.com> wrote:
>> For the patch, we can put also the declaration of ru0 into the loop.
> Thanks for your reply.
> Hmm, certainly that it may be better.
> 
> Fix the v2 patch and attached.

Thanks for updating the patch!
Barring any objection, I will commit this.

As far as I check the back branches, ISTM that
this patch needs to be back-patch to v9.5.

Regards,

-- 
Fujii Masao
NTT DATA CORPORATION
Advanced Platform Technology Group
Research and Development Headquarters



Commits

  1. Fix mesurement of elapsed time during truncating heap in VACUUM.