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: Add some basic tests for progress reporting of COPY
Date: Tue, 16 Mar 2021 01:00:14 +0000
Message-ID: <E1lLy4E-00005k-HH@gemulon.postgresql.org> (raw)

Add some basic tests for progress reporting of COPY

This tests some basic features for progress reporting of COPY, relying
on an INSERT trigger that gets fired when doing COPY FROM with a file or
stdin, checking for sizes, number of tuples processed, and number of
tuples excluded by a WHERE clause.

Author: Josef Šimánek, Matthias van de Meent
Reviewed-by: Michael Paquier, Justin Pryzby, Bharath Rupireddy, Tomas
Vondra
Discussion: https://postgr.es/m/CAEze2WiOcgdH4aQA8NtZq-4dgvnJzp8PohdeKchPkhMY-jWZXA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/15639d5e8f6f278219681fec8a5668a92fb7e874

Modified Files
--------------
src/test/regress/input/copy.source  | 62 +++++++++++++++++++++++++++++++++++++
src/test/regress/output/copy.source | 54 ++++++++++++++++++++++++++++++++
2 files changed, 116 insertions(+)



Message-ID: <E1lLy4E-00005k-HH@gemulon.postgresql.org>
Permalink:  ../E1lLy4E-00005k-HH@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lLy4E-00005k-HH@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Add some basic tests for progress reporting of COPY
  In-Reply-To: <E1lLy4E-00005k-HH@gemulon.postgresql.org>
  References: <E1lLy4E-00005k-HH@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