tweak to a few index tests to hits ambuildempty() routine.

From: Amul Sul <sulamul(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: tweak to a few index tests to hits ambuildempty() routine.
Date: 2021-11-29 05:04:06
Message-ID: CAAJ_b95nneRCLM-=qELEdgCYSk6W_++-C+Q_t+wH3SW-hF50iw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

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

Attachment Content-Type Size
v1_index_test_for_ambuildempty.patch application/octet-stream 3.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2021-11-29 05:37:55 Re: Optionally automatically disable logical replication subscriptions on error
Previous Message Amul Sul 2021-11-29 04:48:59 Re: Deduplicate code updating ControleFile's DBState.