pgbench: Move constant into format string

Michael Paquier <michael@paquier.xyz>

Commit: 11f36694091c97318e5a2bd28b35ffe9aa1c3b6a
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-07-11T05:01:00Z
Releases: 17.0
pgbench: Move constant into format string

As coded, the row data strings generated for pgbench_accounts' COPY in
the client-side data generation were always assigning 0 for one of its
attributes.  This simplifies a bit an upcoming patch to switch
client-side data generation of pgbench to use COPY for the teller and
branch tables, rather than individual INSERTs.

Author: Tristan Partin
Discussion: https://postgr.es/m/CSTU5P82ONZ1.19XFUGHMXHBRY@c3po

Files

PathChange+/−
src/bin/pgbench/pgbench.c modified +2 −2

Discussion