Re: minimal update

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

David Fetter wrote:
>>
>> Maybe we should fix our C sample trigger, from which this was taken.
>>     
>
> Yes :)
>
> Does the attached have the right error code?
>
> -        elog(ERROR, "trigf: not called by trigger manager");
> +        ereport(ERROR,
> +                (error(TRIGGERED_DATA_CHANGE_VIOLATION),
> +                 errmsg("trigf: not called by trigger manager")));
>
>   

Not sure that's appropriate, but I can't see anything else that is very 
appropriate either.

cheers

andrew


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: minimal update
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1155)