Re: setting the timezone parameter with space cause diff result

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: setting the timezone parameter with space cause diff result
Дата
Msg-id CAKFQuwaiJ-DwpjatbVFpxjGvYmttP-GskRFf6=3vzj3xswEMGA@mail.gmail.com
обсуждение исходный текст
Ответ на Re:Re: setting the timezone parameter with space cause diff result  (甄明洋 <zhenmingyang@yeah.net>)
Ответы Re: setting the timezone parameter with space cause diff result
Список pgsql-bugs
On Tuesday, June 8, 2021, 甄明洋 <zhenmingyang@yeah.net> wrote:
Here is an example, which seems to be a problem of parsing, if format string with FF and TZH:TZM,  but the datetime string without fractional seconds will cause parsing misalignment,

Yes, with a template language this complex it is possible that invalid input will mis-parse instead of provoking an error.  Use regexes if you need to validate the input format - all the parser should really be relied upon to do is take a valid input and convert it.

David J.

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

Предыдущее
От: 甄明洋
Дата:
Сообщение: Re:Re: setting the timezone parameter with space cause diff result
Следующее
От: Tom Lane
Дата:
Сообщение: Re: setting the timezone parameter with space cause diff result