Обсуждение: pgsql: Add :client_id automatic variable for custom pgbench scripts.

Поиск
Список
Период
Сортировка

pgsql: Add :client_id automatic variable for custom pgbench scripts.

От
Heikki Linnakangas
Дата:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b23160889c963dfe23d8cf1f9be64fb3c535a2d6

Modified Files
--------------
contrib/pgbench/pgbench.c |   14 ++++++++++++++
doc/src/sgml/pgbench.sgml |   28 +++++++++++++++++++++++++++-
2 files changed, 41 insertions(+), 1 deletion(-)