Re: BUG #18014: Releasing catcache entries makes schema_to_xmlschema() fail when parallel workers are used

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: exclusion(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18014: Releasing catcache entries makes schema_to_xmlschema() fail when parallel workers are used
Date: 2023-07-20 08:29:24
Message-ID: 20230720.172924.535889842187000361.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

At Thu, 20 Jul 2023 16:44:59 +0900 (JST), Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> wrote in
> Stupid. What we should do here would be ensuring the funtion doesn't
> invoke parallel workers, maybe.

So, for testing, I didn't see the error with applying the attached patch.
There are other SPI calls but I didn't see them at all.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
inhibit_parallel_in_xmlfuncs_poc.diff text/x-patch 911 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2023-07-20 08:47:57 Re: BUG #18033: org.postgresql.util.PSQLException:
Previous Message Michael Paquier 2023-07-20 07:47:40 Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files