Re: BUG #18014: Releasing catcache entries makes schema_to_xmlschema() fail when parallel workers are used
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: exclusion@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Date: 2023-07-20T08:29:24Z
Lists: pgsql-bugs
Attachments
- inhibit_parallel_in_xmlfuncs_poc.diff (text/x-patch) patch
At Thu, 20 Jul 2023 16:44:59 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.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
Commits
-
Harden xxx_is_visible() functions against concurrent object drops.
- fcdd6689d09c 17.0 landed
-
Harden has_xxx_privilege() functions against concurrent object drops.
- 403ac226ddd6 17.0 landed