git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c50b315) | patch
Remove now-unnecessary thread pointer arguments in pgbench.
Wed, 3 Apr 2019 21:16:00 +0000 (17:16 -0400)
Wed, 3 Apr 2019 21:16:09 +0000 (17:16 -0400)
commit d8c0bd9fefa9c70a3f5613fba672fa92f08ea940
Remove now-unnecessary thread pointer arguments in pgbench.

Not required after nuking the zipfian thread-local cache.

Also add a comment about hazardous pointer punning in threadRun(),
and avoid using "thread" to refer to the threads array as a whole.

Fabien Coelho and Tom Lane, per suggestion from Alvaro Herrera

Discussion: https://postgr.es/m/alpine.DEB.2.21.1904032126060.7997@lancre
src/bin/pgbench/pgbench.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /