Remove now-unnecessary thread pointer arguments in pgbench.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d8c0bd9fefa9c70a3f5613fba672fa92f08ea940
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-04-03T21:16:09Z
Releases: 12.0
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

Files

PathChange+/−
src/bin/pgbench/pgbench.c modified +36 −30

Discussion