BUG #1274: Trigger sequence incorrect

Поиск
Список
Период
Сортировка
От PostgreSQL Bugs List
Тема BUG #1274: Trigger sequence incorrect
Дата
Msg-id 20040930060610.C7A645A106B@www.postgresql.com
обсуждение исходный текст
Ответы Re: BUG #1274: Trigger sequence incorrect  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      1274
Logged by:          shancheng

Email address:      sd_shancheng@hotmail.com

PostgreSQL version: 8.0 Beta

Operating system:   Fedora 2

Description:        Trigger sequence incorrect

Details:

The problem happens when I was trying the example that is described in
"PostgreSQL 8.0.0beta1 Documentation, chapt 33.4 --- A Complete Example".

At the last step, as the document says, the result should be:
=> DELETE FROM ttest;
INFO:  trigf (fired before): there are 2 rows in ttest
INFO:  trigf (fired after ): there are 1 rows in ttest
INFO:  trigf (fired before): there are 1 rows in ttest
INFO:  trigf (fired after ): there are 0 rows in ttest
DELETE 2

But what i see is that:
test=# DELETE FROM ttest;
NOTICE:  trigf (fired before): there are 2 tuples in ttest
NOTICE:  trigf (fired before): there are 1 tuples in ttest
NOTICE:  trigf (fired after ): there are 0 tuples in ttest
NOTICE:  trigf (fired after ): there are 0 tuples in ttest
DELETE 2

The execution sequence of the triggers is incorrect.

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

Предыдущее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1273: bad path for english.stop in tsearch2
Следующее
От: Markus Bertheau
Дата:
Сообщение: Re: BUG #1271: Installation problems (cannot execute