pgsql: Refactor pgbench log-writing code to a separate function.
pgsql: Refactor pgbench log-writing code to a separate function.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
Refactor pgbench log-writing code to a separate function. The doCustom function was incredibly long, this makes it a little bit more readable. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/84f0ea3f68aed5e5b9cc1ef8599a7c28b0b97b0f Modified Files -------------- contrib/pgbench/pgbench.c | 340 ++++++++++++++++++++++----------------------- 1 file changed, 169 insertions(+), 171 deletions(-)