- Notifications
You must be signed in to change notification settings - Fork5k
Commita6285b1
committed
tests: Fix incompatibility of test_aio with *_FORCE_RELEASE
The test added in93bc3d7 failed in a build with RELCACHE_FORCE_RELEASEand CATCACHE_FORCE_RELEASE defined. The test intentionally forgets to exitbatchmode - normally that would trigger an error at the end of thetransaction, which the test verifies. However, with RELCACHE_FORCE_RELEASEand CATCACHE_FORCE_RELEASE defined, we get other code (output function lookup)entering batchmode and erroring out because batchmode isn't allowed to beentered recursively.Fix that by changing the queries in question to not output any rows. That'snot exactly pretty, but seems to avoid the problem reliably.Eventually we might want to make RELCACHE_FORCE_RELEASE andCATCACHE_FORCE_RELEASE GUCs, so we can disable them where necessary - thisisn't the first test having difficulty with those debug options. But that'sfor later.Per buildfarm member prion.Discussion:https://postgr.es/m/uc62i6vi5gd4bi6wtjj5poadqxolgy55e7ihkmf3mthjegb6zl@zqo7xez7sc2r1 parent43dca8a commita6285b1
1 file changed
+10
-4
lines changedLines changed: 10 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
325 | 325 |
| |
326 | 326 |
| |
327 | 327 |
| |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
328 | 334 |
| |
329 | 335 |
| |
330 | 336 |
| |
331 | 337 |
| |
332 | 338 |
| |
333 |
| - | |
| 339 | + | |
334 | 340 |
| |
335 | 341 |
| |
336 | 342 |
| |
| |||
340 | 346 |
| |
341 | 347 |
| |
342 | 348 |
| |
343 |
| - | |
| 349 | + | |
344 | 350 |
| |
345 | 351 |
| |
346 | 352 |
| |
| |||
353 | 359 |
| |
354 | 360 |
| |
355 | 361 |
| |
356 |
| - | |
| 362 | + | |
357 | 363 |
| |
358 | 364 |
| |
359 | 365 |
| |
| |||
362 | 368 |
| |
363 | 369 |
| |
364 | 370 |
| |
365 |
| - | |
| 371 | + | |
366 | 372 |
| |
367 | 373 |
| |
368 | 374 |
| |
|
0 commit comments
Comments
(0)