Re: Not representable result out of too large range

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Not representable result out of too large range
Дата
Msg-id 24333.997128131@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Not representable result out of too large range  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> We have five different expected files for the int2 and int4 tests because
> every system has a different idea on what to print for ERANGE.  I'm about
> to add another version.  Would it make more sense to hard code one wording
> and not use strerror here?

Kinda sounds like the path of least resistance, doesn't it?  I assume
you'd do the substitution inside elog(), so it's consistent for all
places that might report ERANGE via %m ?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Possible solution for LIKE optimization
Следующее
От: Tom Lane
Дата:
Сообщение: Notes about int8 sequences