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-jw...@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(+)

Reply via email to