pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgbench: Move constant into format string
Date: Tue, 11 Jul 2023 05:01:24 +0000
Message-ID: <E1qJ5V7-002vqo-3h@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1qJ5V7-002vqo-3h@gemulon.postgresql.org>
Permalink:  ../E1qJ5V7-002vqo-3h@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qJ5V7-002vqo-3h@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pgbench: Move constant into format string
  In-Reply-To: <E1qJ5V7-002vqo-3h@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox