Re: proposal: plpgsql - Assert statement

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: proposal: plpgsql - Assert statement
Дата
Msg-id 54C81B99.50405@BlueTreble.com
обсуждение исходный текст
Ответ на Re: proposal: plpgsql - Assert statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proposal: plpgsql - Assert statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: proposal: plpgsql - Assert statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On 1/27/15 1:30 PM, Pavel Stehule wrote:
>     I don't see the separate warning as being helpful. I'd just do something like
>
>     +                                (err_hint != NULL) ? errhint("%s", err_hint) : errhint("Message attached to
failedassertion is null") ));
 
>
>
> done
>
>
>     There should also be a test case for a NULL message.
>
>
> is there, if I understand well

I see it now. Looks good.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: pg_upgrade and rsync
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: proposal: row_to_array function