Re: Use of systable_beginscan_ordered in event trigger patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Use of systable_beginscan_ordered in event trigger patch
Дата
Msg-id 2243.1355272412@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Use of systable_beginscan_ordered in event trigger patch  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: Use of systable_beginscan_ordered in event trigger patch
Список pgsql-hackers
Dimitri Fontaine <dimitri@2ndQuadrant.fr> writes:
> I don't remember that we fixed that case, I did attach a patch in the
> previous email, what do you think?

Yeah, I had forgotten about that loose end, but we definitely need
something of the sort.  Committed with additional documentation.
(I put something in the CREATE EVENT TRIGGER ref page, but do we
need anything about it in chapter 37?)

BTW, is the example in the CREATE EVENT TRIGGER ref page meant as an
IQ test for unwary readers?  You do know there are people who will
copy-and-paste just about any example that's put in front of them.
Perhaps we just want to make sure they internalize the advice about how
to get out of a broken-event-trigger situation.

Kidding aside, I think we need either a big WARNING, or a different
example.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Re: [PATCH 02/14] Add support for a generic wal reading facility dubbed XLogReader
Следующее
От: David Gould
Дата:
Сообщение: Strange errors from 9.2.1 and 9.2.2 (I hope I'm missing something obvious)