pgsql: Add some basic tests for progress reporting of COPY

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add some basic tests for progress reporting of COPY
Date: 2021-03-16 01:00:14
Message-ID: E1lLy4E-00005k-HH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-03-16 02:04:19 Re: pgsql: Implement pipeline mode in libpq
Previous Message Alvaro Herrera 2021-03-15 21:35:10 pgsql: Add libpq pipeline mode support to pgbench