pgsql: pgbench: Move constant into format string

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pgbench: Move constant into format string
Date: 2023-07-11 05:01:24
Message-ID: E1qJ5V7-002vqo-3h@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/11f36694091c97318e5a2bd28b35ffe9aa1c3b6a

Modified Files
--------------
src/bin/pgbench/pgbench.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2023-07-11 20:58:11 pgsql: Remove --disable-thread-safety and related code.
Previous Message Masahiko Sawada 2023-07-11 04:02:34 Re: pgsql: Report index vacuum progress.