Re: Simplify backend terminate and wait logic in postgres_fdw test
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Fujii Masao <masao.fujii@oss.nttdata.com>
Date: 2021-04-14T05:33:26Z
Lists: pgsql-hackers
On Tue, Apr 13, 2021 at 04:39:58PM +0900, Michael Paquier wrote: > Looks fine to me. Let's wait a bit first to see if Fujii-san has any > objections to this cleanup as that's his code originally, from > 32a9c0bd. And hearing nothing, done. The tests of postgres_fdw are getting much faster for me now, from basically 6s to 4s (actually that's roughly 1.8s of gain as pg_wait_until_termination waits at least 100ms, twice), so that's a nice gain. -- Michael
Commits
-
Disable cache clobber to avoid breaking postgres_fdw termination test.
- 1273a15bf91f 14.0 landed
-
Simplify tests of postgres_fdw terminating connections
- 93f41461449f 14.0 landed
-
Add functions to wait for backend termination
- aaf043257205 14.0 cited
-
postgres_fdw: Fix tests for CLOBBER_CACHE_ALWAYS.
- f77717b2985a 14.0 cited