| От | Tom Lane |
|---|---|
| Тема | Re: reject empty string in float[48], oid |
| Дата | |
| Msg-id | 5330.1108086781@sss.pgh.pa.us обсуждение |
| Ответ на | reject empty string in float[48], oid (Neil Conway <neilc@samurai.com>) |
| Ответы |
Re: reject empty string in float[48], oid
|
| Список | pgsql-patches |
Neil Conway <neilc@samurai.com> writes:
> This patch changes the input routines for float4, float8 and oid to
> reject empty strings (rather than treating them as "0"). In 8.0 we issue
> a warning about this behavior and indicate that the input will not be
> accepted by a future release, so it seems reasonable to disallow the
> input in 8.1. The patch also updates the regression tests.
If you're going to add regression tests, how about testing the case of a
non-empty-but-all-whitespace string?
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера