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

From Alvaro Herrera
Subject Re: tweak to a few index tests to hits ambuildempty() routine.
Date
Msg-id 202204251305.fkopsdzkzbj4@alvherre.pgsql
Whole thread Raw
In response to tweak to a few index tests to hits ambuildempty() routine.  (Amul Sul <sulamul@gmail.com>)
Responses Re: tweak to a few index tests to hits ambuildempty() routine.  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
On 2021-Nov-29, Amul Sul wrote:

> 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.

I added one change to include spgist too, which was uncovered, and
pushed this.

Thanks for the patch!

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"I am amazed at [the pgsql-sql] mailing list for the wonderful support, and
lack of hesitasion in answering a lost soul's question, I just wished the rest
of the mailing list could be like this."                               (Fotis)
               (http://archives.postgresql.org/pgsql-sql/2006-06/msg00265.php)



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: pg_receivewal fail to streams when the partial file to write is not fully initialized present in the wal receiver directory
Next
From: Aleksander Alekseev
Date:
Subject: Re: [PATCH] Compression dictionaries for JSONB