Re: minimal update

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: minimal update
Дата
Msg-id 4908BDF9.8020205@dunslane.net
обсуждение исходный текст
Ответ на Re: minimal update  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: minimal update  (David Fetter <david@fetter.org>)
Список pgsql-hackers

Alvaro Herrera wrote:
> Andrew Dunstan escribió:
>
>   
>> +     /* make sure it's called as a trigger */
>> +     if (!CALLED_AS_TRIGGER(fcinfo))
>> +         elog(ERROR, "suppress_redundant_updates_trigger: must be called as trigger");
>>     
>
> Shouldn't these all be ereport()?
>
>   

Good point.

I'll fix them.

Maybe we should fix our C sample trigger, from which this was taken.

cheers

andrew


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: PostgreSQL network discovery
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: PostgreSQL network discovery