diff options
| author | Álvaro Herrera <alvherre@kurilemu.de> | 2025-11-27 13:10:56 +0100 |
|---|---|---|
| committer | Álvaro Herrera <alvherre@kurilemu.de> | 2025-11-27 13:10:56 +0100 |
| commit | 9e8fa05d3412d6adea453a8ec24d9a794498f4cf (patch) | |
| tree | 303839c0260e5ba9446b3edb30269ae4e2751f8d /contrib/file_fdw/file_fdw.c | |
| parent | e396a18f32e1a174be2492a83e7a8bfce568e6ab (diff) | |
Fix new test for CATCACHE_FORCE_RELEASE builds
Two of the isolation tests introduce by commit bc32a12e0db2 had a
problem under CATCACHE_FORCE_RELEASE, as evidenced by buildfarm member
prion. An injection point is hit ahead of what the test spec expects,
so a session goes to sleep and there's no one there to wait it up. Fix
in the simplest possible way, which is to conditionally wake the process
up if it's waiting. An alternative output file is necessary to cover
both cases.
This suggests a couple of possible improvements to the injection points
infrastructure: a conditional wakeup (doing nothing if no one is
sleeping, as opposed to throwing an error), as well as a way to attach
to a point in "deactivated" mode, activated later.
Author: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Mihail Nikalayeu <mihailnikalayeu@gmail.com>
Discussion: https://postgr.es/m/202511261817.fyixgtt3hqdr@alvherre.pgsql
Diffstat (limited to 'contrib/file_fdw/file_fdw.c')
0 files changed, 0 insertions, 0 deletions
