diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-10-06 09:56:55 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-10-06 09:56:55 +0900 |
commit | fd4d93d269c02081958e4c0c214f1d82186e5689 (patch) | |
tree | d192f0e7570a5e0941b1824cbf444669b05365b9 /src/backend/access/gist/gistproc.c | |
parent | 991bb0f9653c61cf116338f295534d1378df2751 (diff) | |
download | postgresql-fd4d93d269c02081958e4c0c214f1d82186e5689.tar.gz postgresql-fd4d93d269c02081958e4c0c214f1d82186e5689.zip |
worker_spi: Fix test failure with BGWORKER_BYPASS_ALLOWCONN
A bgworker can spawn parallel workers of its own when executing queries,
and if the worker uses BGWORKER_BYPASS_ALLOWCONN while the database it
is connected to does not allow connections, a parallel worker would fail
to startup. In the case of this module, the step checking for the
presence of the schema to create was spawning a worker, failing the last
test introduced by 991bb0f9653c.
This issue could be reproduced with debug_parallel_query = 'regress',
for example.
Per buildfarm member crake.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions