Re: Avoid a potential unstable test case: xmlmap.sql

From: Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Avoid a potential unstable test case: xmlmap.sql
Date: 2023-08-15 11:26:45
Message-ID: CAKU4AWqdh2FNv5JVap7QACj0e_a8eP=skPeOQittZ+maaqj9zQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I overlooked the fact even in the bitmap index scan loose mode, the recheck
is still executed before the qual, so bitmap index scan is OK in this case.

Sort
Output: oid, relname
Sort Key: pg_class.relname
-> Bitmap Heap Scan on pg_catalog.pg_class
Output: oid, relname
Recheck Cond: (pg_class.relnamespace = '28601'::oid)
Filter: (has_table_privilege(pg_class.oid, 'SELECT'::text) AND
(pg_class.relkind = ANY ('{r,m,v}'::"char"[])))
-> Bitmap Index Scan on pg_class_relname_nsp_index
Index Cond: (pg_class.relnamespace = '28601'::oid)

v2 attached.

--
Best Regards
Andy Fan

Attachment Content-Type Size
v2-0001-Avoid-a-potential-unstable-testcase.patch application/octet-stream 2.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2023-08-15 11:49:59 Test case for parameterized remote path in postgres_fdw
Previous Message Andy Fan 2023-08-15 11:09:32 Avoid a potential unstable test case: xmlmap.sql