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-20T07:44:59Z
Lists: pgsql-bugs
At Thu, 20 Jul 2023 16:28:02 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in > That is, the function is not parallel-safe. In fact it is marked as > 'r' in pg_proc.proparallel. So, the real question appears to be how it > ended up running in a paralell worker. Stupid. What we should do here would be ensuring the funtion doesn't invoke parallel workers, maybe. 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