pgsql: Remove thread-emulation support from pgbench.
pgsql: Remove thread-emulation support from pgbench.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
Remove thread-emulation support from pgbench. 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 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/1bc90f7a7b7441a88e2c6d4a0e9b6f9c1499ad30 Modified Files -------------- src/bin/pgbench/pgbench.c | 313 ++++++++++----------------------------------- 1 file changed, 66 insertions(+), 247 deletions(-)