forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfd4d93d
committed
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 itis connected to does not allow connections, a parallel worker would failto startup. In the case of this module, the step checking for thepresence of the schema to create was spawning a worker, failing the lasttest introduced by991bb0f.This issue could be reproduced with debug_parallel_query = 'regress',for example.Per buildfarm member crake.1 parent991bb0f commitfd4d93d
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
176 | 185 |
| |
177 | 186 |
| |
178 | 187 |
| |
|
0 commit comments
Comments
(0)