Re: tweak to a few index tests to hits ambuildempty() routine. - Mailing list pgsql-hackers

From Rushabh Lathia
Subject Re: tweak to a few index tests to hits ambuildempty() routine.
Date
Msg-id CAGPqQf3An=Ji4iqrgzLrp+65TrPOUX02g1xY9d-mnMNUvqLPiw@mail.gmail.com
Whole thread Raw
In response to tweak to a few index tests to hits ambuildempty() routine.  (Amul Sul <sulamul@gmail.com>)
List pgsql-hackers


On Mon, Nov 29, 2021 at 10:34 AM Amul Sul <sulamul@gmail.com> wrote:
Hi,

Attached patch is doing small changes to brin, gin & gist index tests
to use an unlogged table without changing the original intention of
those tests and that is able to hit ambuildempty() routing which is
otherwise not reachable by the current tests.

+1 for the idea as it does the better code coverage.

 

--
Regards,
Amul Sul
EDB: http://www.enterprisedb.com


--
Rushabh Lathia

pgsql-hackers by date:

Previous
From: "陈佳昕(步真)"
Date:
Subject: 32TB relation size make mdnblocks overflow
Next
From: Julien Rouhaud
Date:
Subject: Re: In-placre persistance change of a relation