Re: pgbench: option delaying queries till connections establishment?
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Marina Polyakova <m.polyakova@postgrespro.ru>, pgsql-hackers <pgsql-hackers@postgresql.org>, kuroda.hayato@fujitsu.com, David Rowley <dgrowleyml@gmail.com>
Date: 2021-03-08T02:18:42Z
Lists: pgsql-hackers
Attachments
- v12-0001-Add-missing-pthread_barrier_t.patch (text/x-patch) patch v12-0001
- v12-0002-pgbench-Refactor-the-way-we-do-thread-portabilit.patch (text/x-patch) patch v12-0002
- v12-0003-pgbench-Improve-time-measurement-code.patch (text/x-patch) patch v12-0003
- v12-0004-pgbench-Synchronize-client-threads.patch (text/x-patch) patch v12-0004
On Fri, Mar 5, 2021 at 6:22 PM Thomas Munro <thomas.munro@gmail.com> wrote: > On Thu, Mar 4, 2021 at 10:44 PM Thomas Munro <thomas.munro@gmail.com> wrote: > > v10-0002-pgbench-Refactor-the-way-we-do-thread-portabilit.patch > > Here's a better version of that part. I don't yet know if it actually > works on Windows... David Rowley kindly tested this for me on Windows and told me how to fix one of the macros that had incorrect error checking on that OS. So here's a new version. I'm planning to commit 0001 and 0002 soon, if there are no objections. 0003 needs some more review.
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