Re: pgbench: option delaying queries till connections establishment?
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Marina Polyakova <m.polyakova@postgrespro.ru>
Cc: pgsql-hackers@postgresql.org, kuroda.hayato@fujitsu.com
Date: 2020-11-14T15:53:17Z
Lists: pgsql-hackers
Attachments
- pgbench-A-usec-3.patch (text/x-diff) patch
- pgbench-B-barrier-7.patch (text/x-diff) patch
Hello Marina, >> 1) It looks like pgbench will no longer support Windows XP due to the >> function DeleteSynchronizationBarrier. From >> https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-deletesynchronizationbarrier >> >> Minimum supported client: Windows 8 [desktop apps only] >> Minimum supported server: Windows Server 2012 [desktop apps only] Thanks for the test and precise analysis! Sigh. I do not think that putting such version requirements are worth it just for the sake of pgbench. In the attached version, I just comment out the call and add an explanation about why it is commented out. If pg overall version requirements are changed on windows, then it could be reinstated. -- Fabien.
Commits
-
Fix new pthread code to respect --disable-thread-safety.
- de91c3b976cf 14.0 landed
-
Add missing pthread_barrier_t.
- 44bf3d5083e1 14.0 landed
-
pgbench: Improve time logic.
- 547f04e7348b 14.0 landed
-
pgbench: Refactor thread portability support.
- b1d6a8f86813 14.0 landed
-
pgbench: Synchronize client threads.
- aeb57af8e640 14.0 landed
-
Fix bogus logic for skipping unnecessary partcollation dependencies.
- 84d514887f9c 12.0 cited