From: | Mark Dilger <hornschnorter(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Missing test of SPI copy functionality |
Date: | 2019-11-07 14:25:54 |
Message-ID: | 59befd2c-0159-5c1c-80b4-92ec72f8db19@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 11/6/19 6:27 PM, Michael Paquier wrote:
> On Wed, Nov 06, 2019 at 04:16:14PM -0800, Mark Dilger wrote:
>> While working on cleaning up the SPI interface, I found that one of the SPI
>> error codes, SPI_ERROR_COPY, is never encountered in any test case when
>> running `make check-world`. This case is certainly reachable by a user, as
>> is shown in the attached patch. Is this tested from some other
>> infrastructure?
>
> Hard to say, but I think that it would be good to test that part
> independently anyway. The transaction part close by is actually
> getting stressed with plpgsql_transaction, so the split done in your
> patch looks fine. I'll look at it again in a couple of days to
> double-check for missing spots, and commit it if there are no
> objections.
Thanks for reviewing!
--
Mark Dilger
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2019-11-07 14:29:57 | Re: TAP tests aren't using the magic words for Windows file access |
Previous Message | Alvaro Herrera | 2019-11-07 14:12:29 | Re: TAP tests aren't using the magic words for Windows file access |