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

2023-08-15 Thread Andy Fan
> > > Please look at the bug #18014: > > https://www.postgresql.org/message-id/flat/18014-28c81cb79d44295d%40postgresql.org > There were other aspects of the xmlmap test failure discussed in that > thread as well. > Thank you Alexander for the information, I will go through there for discussion.

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

2023-08-15 Thread Alexander Lakhin
Hi Andy, 15.08.2023 14:09, Andy Fan wrote: Hi: In the test case of xmlmap.sql, we have the query below under schema_to_xml. Please look at the bug #18014: https://www.postgresql.org/message-id/flat/18014-28c81cb79d44295d%40postgresql.org There were other aspects of the xmlmap test failure d

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

2023-08-15 Thread Andy Fan
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

Avoid a potential unstable test case: xmlmap.sql

2023-08-15 Thread Andy Fan
Hi: In the test case of xmlmap.sql, we have the query below under schema_to_xml. explain (costs off, verbose) SELECT oid FROM pg_catalog.pg_class WHERE relnamespace = 28601 AND relkind IN ('r','m','v') AND pg_catalog.has_table_privilege (oid, 'SELECT') ORDER BY relname; If the query is using S