Re: Re: a primer on trigger?

Поиск
Список
Период
Сортировка
От Chris Jones
Тема Re: Re: a primer on trigger?
Дата
Msg-id 20010504143355.J10812@mt.sri.com
обсуждение исходный текст
Ответ на Re: a primer on trigger?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Ответы Re: Re: a primer on trigger?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
On Fri, May 04, 2001 at 12:59:54PM -0700, Stephan Szabo wrote:

> The problem is that you have the problem in reverse then, unless what's
> done by the trigger is "optional" sortof. What happens if there is an
> error, and you can't do the outside operation? You once again end up
> out of sync with the database, but this time the outside thing is missing
> the records.  You still need something to come in every so often and make
> sure stuff is correct.
>
> This whole class of things is just ugly.

I'm a little weak on database theory, but isn't this what two-phase
commit is for?

Chris

--
chris@mt.sri.com -----------------------------------------------------
Chris Jones                                    SRI International, Inc.
                                                           www.sri.com

Вложения

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

Предыдущее
От: "Mitch Vincent"
Дата:
Сообщение: Re: Newbie Question
Следующее
От: James Thornton
Дата:
Сообщение: Re: IpcMemoryCreate: shmget failed (Invalid argument)