Re: numeric data type upper limit.

Поиск
Список
Период
Сортировка
От Aravind Kumar
Тема Re: numeric data type upper limit.
Дата
Msg-id CADhiBKZHoDgg6jzcoxNVtOkeu=fZrhd+edyM6Ut3tTW2x2x-Ag@mail.gmail.com
обсуждение исходный текст
Ответ на Re: numeric data type upper limit.  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-novice
On Sun, Aug 14, 2016 at 6:05 PM, David G. Johnston
<david.g.johnston@gmail.com> wrote:
> On Sunday, August 14, 2016, Aravind Kumar <aravindc26@gmail.com> wrote:
>>
>> Hi,
>>
>> when I do
>>
>>  select 1.0e+1001::numeric;
>>
>> I get
>>
>> invalid input syntax for type numeric: "1.0e+1001"
>>
>> But
>>
>> select 1.0e+1000::numeric;
>>
>> seems to be valid.
>>
>> Postgresql documentation tells me that numeric data type has an upper
>> limit of 131072 digits before decimal point.
>>
>> Am I missing something ?
>>
>
> Guessing here but I think numeric input requires single quotes around the
> value.
>
> David J.

Tried with single quotes doesn't seem to work. Possible bug ?

Aravind Chintalapalli


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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: numeric data type upper limit.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: numeric data type upper limit.