public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tristan Partin <[email protected]>
To: Tristan Partin <[email protected]>
To: [email protected]
Subject: Re: Use COPY for populating all pgbench tables
Date: Wed, 14 Jun 2023 09:41:14 -0500
Message-ID: <CTCG9VOM6GJ4.3NDBRQ7U4EP4Z@gonk> (raw)
In-Reply-To: <CSTU5P82ONZ1.19XFUGHMXHBRY@c3po>
References: <CSTU5P82ONZ1.19XFUGHMXHBRY@c3po>

Here is a v2. It cleans up the output when printing to a tty. The
last "x of y tuples" line gets overwritten now, so the final output
looks like:

dropping old tables...
creating tables...
generating data (client-side)...
vacuuming...
creating primary keys...
done in 0.14 s (drop tables 0.01 s, create tables 0.01 s, client-side generate 0.05 s, vacuum 0.03 s, primary keys 0.03 s).

-- 
Tristan Partin
Neon (https://neon.tech)






view thread (4+ messages)

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: [email protected]
  Cc: [email protected]
  Subject: Re: Use COPY for populating all pgbench tables
  In-Reply-To: <CTCG9VOM6GJ4.3NDBRQ7U4EP4Z@gonk>

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

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