You can no longer use pgbench with multiple threads when compiled without--enable-thread-safety. That's an acceptable limitation these days; it still works fine with -j1, and all modern platforms support threads anyway. This makes future maintenance and development of the code easier.
Fabien Coelho
1bc90f7 Remove thread-emulation support from pgbench.
src/bin/pgbench/pgbench.c | 313 ++++++++++-----------------------------------
1 file changed, 66 insertions(+), 247 deletions(-)
Upstream: git.postgresql.org