Re: pgsql: Increase test coverage in RI_FKey_pk_upd_check_required()

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: pgsql: Increase test coverage in RI_FKey_pk_upd_check_required()
Дата
Msg-id CAKFQuwY+9NKT5XEXnvKZYma0VVKYG7MHSqfUmH5wvMdBFuGFTw@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Increase test coverage in RI_FKey_pk_upd_check_required()  (Peter Eisentraut <peter@eisentraut.org>)
Ответы Re: pgsql: Increase test coverage in RI_FKey_pk_upd_check_required()  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-committers
On Wednesday, January 16, 2019, Peter Eisentraut <peter@eisentraut.org> wrote:
Increase test coverage in RI_FKey_pk_upd_check_required()

This checks the case where the primary key has at least one null
column.

Sorry if this seems pedantic but you are testing where a unique index has at least one null column value.  A primary key, per the docs, cannot contain null in any of its columns.  I read the commit message and thought maybe that had changed while I wasn’t looking...

David J.

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add test case for ON DELETE NO ACTION/RESTRICT
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Reorganize planner code moved in b60c39759908