Add :client_id automatic variable for custom pgbench scripts.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 14 Jun 2013 20:31:44 +0000 (23:31 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 14 Jun 2013 20:31:44 +0000 (23:31 +0300)
commitb23160889c963dfe23d8cf1f9be64fb3c535a2d6
treefc942b60c7d6a7797771e79dd83440704a2ebb02
parent46e1434f3db21cdc05dea42b4e060d2078ff5b87
Add :client_id automatic variable for custom pgbench scripts.

This makes it easier to write custom scripts that have different logic for
each client.

Gurjeet Singh, with some changes by me.
contrib/pgbench/pgbench.c
doc/src/sgml/pgbench.sgml