Re: Why don't we accept exponential format for integers?
В списке pgsql-hackers по дате отправления:
| От | Josh Berkus |
|---|---|
| Тема | Re: Why don't we accept exponential format for integers? |
| Дата | |
| Msg-id | 4D0BEDBE.8080806@agliodbs.com обсуждение исходный текст |
| Ответ на | Re: Why don't we accept exponential format for integers? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Why don't we accept exponential format for integers?
|
| Список | pgsql-hackers |
>> Well, that's stupidly arbitrary. If we're not going to accept
>> '1.234e+01'::Integer, then we shouldn't accept 1.234e+01::Integer either.
>
> It's not arbitrary in the slightest. One is a run-time type conversion;
> the other is a question of what strings the type-specific input routine
> for integer will accept.
Oh, *I* understand the difference. Any app developer is going to see it
as stupidly arbitrary, though.
Anyway, this answered my basic question.
-- -- Josh Berkus PostgreSQL Experts Inc.
http://www.pgexperts.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера