Re: unclear enum error messages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: unclear enum error messages
Дата
Msg-id 2600.1196314338@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: unclear enum error messages  ("Tom Dunstan" <pgsql@tomd.cc>)
Список pgsql-hackers
"Tom Dunstan" <pgsql@tomd.cc> writes:
> I wouldn't get too worried, though. These are defensive error messages
> that are really just checking for sane input, and they seem difficult
> to deliberately trip, let alone accidentally, so stressing about them
> is probably unnecessary.

Right.  I'm not really expecting to see that message fire; it's just
there to ensure sane behavior if it does happen.  Peter might be right
that an elog instead of ereport would be sufficient.
        regards, tom lane


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