Re: WIP fix proposal for bug #6123

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: WIP fix proposal for bug #6123
Дата
Msg-id 4E29AAA5020000250003F727@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: WIP fix proposal for bug #6123  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-hackers
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> wrote:

> I believe that we can get DELETE behavior which is every bit as
> sensible as INSERT behavior with a very small change.

> I think the right thing is to throw an error if the old row for a
> BEFORE UPDATE is updated by the same transaction and the trigger
> function ultimately returns a non-NULL value.

And to make this a bit less hand-wavy, a rough patch attached.  I
expect the error message could use some word-smithing, and it could
use comments; but it seemed like something concrete might speed
things along.

-Kevin


Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: cataloguing NOT NULL constraints
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: storing TZ along timestamps