Re: Missing test of SPI copy functionality

Поиск
Список
Период
Сортировка
От Mark Dilger
Тема Re: Missing test of SPI copy functionality
Дата
Msg-id 59befd2c-0159-5c1c-80b4-92ec72f8db19@gmail.com
обсуждение исходный текст
Ответ на Re: Missing test of SPI copy functionality  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Missing test of SPI copy functionality  (Michael Paquier <michael@paquier.xyz>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: TAP tests aren't using the magic words for Windows file access
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: TAP tests aren't using the magic words for Windows file access