Re: BUG #4015: uninitialized value passed as an argument to tm2timetz

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4015: uninitialized value passed as an argument to tm2timetz
Дата
Msg-id 11454.1204783838@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4015: uninitialized value passed as an argument to tm2timetz  ("Ted Kremenek" <kremenek@apple.com>)
Ответы Re: BUG #4015: uninitialized value passed as an argument to tm2timetz  (Ted Kremenek <kremenek@apple.com>)
Список pgsql-bugs
"Ted Kremenek" <kremenek@apple.com> writes:
> It appears that there may be a case where the function tm2timetz is called
> with an uninitialized (i.e., undefined) value passed as one of its arguments
> (actually multiple arguments are undefined).

I think you're assuming DateTimeParseError() will return, which it will
not (it always throws ereport(ERROR)).  Or have I missed something?

            regards, tom lane

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

Предыдущее
От: "Ted Kremenek"
Дата:
Сообщение: BUG #4015: uninitialized value passed as an argument to tm2timetz
Следующее
От: Ted Kremenek
Дата:
Сообщение: Re: BUG #4015: uninitialized value passed as an argument to tm2timetz