Re: Missing test of SPI copy functionality

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Mark Dilger <hornschnorter@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2019-11-09T05:59:41Z
Lists: pgsql-hackers
On Thu, Nov 07, 2019 at 06:25:54AM -0800, Mark Dilger wrote:
> Thanks for reviewing!

After a closer lookup, I have noticed that you missed a second code
path which is able to trigger the COPY failures as you use EXECUTE
with COPY in PL/pgSQL.  So I have added some tests for that, and
committed the patch.  Thanks.
--
Michael

Commits

  1. Add tests for COPY in PL/pgSQL