Re: Meridiem markers (was: [BUGS] Incorrect "invalid AM/PM string" error from to_timestamp)
В списке pgsql-hackers по дате отправления:
| От | Alex Hunsaker |
|---|---|
| Тема | Re: Meridiem markers (was: [BUGS] Incorrect "invalid AM/PM string" error from to_timestamp) |
| Дата | |
| Msg-id | 34d269d40901251332g2fabbecax46cee35b81fe4566@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Meridiem markers (was: [BUGS] Incorrect "invalid AM/PM string" error from to_timestamp) ("Brendan Jurd" <direvus@gmail.com>) |
| Ответы |
Re: Meridiem markers (was: [BUGS] Incorrect "invalid AM/PM string"
error from to_timestamp)
|
| Список | pgsql-hackers |
On Mon, Jan 19, 2009 at 15:26, Brendan Jurd <direvus@gmail.com> wrote: > From the better-late-than-never department, comes a patch to improve > the handling of AM/PM and AD/BC markers in to_timestamp(), and up the > ante on error reporting for various kinds of invalid input. Ok cool I tried this out and gave it a look over. Looks good to me, only a few nits below: -the various (only moved not added) strncpy(...) copy[len] = '\0'; just use strlcpy? -it seemed we were going to do the error messages the other way around "invalid value for "YYYY" in "a009" instead of "invalid value "a009" for "YYYY" but I think I like the latter (what you did in your patch) better anyways... so never mind
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера