Re: bug in numeric_power() function

Поиск
Список
Период
Сортировка
От Richard Wang
Тема Re: bug in numeric_power() function
Дата
Msg-id frck80$2rcv$1@news.hub.org
обсуждение исходный текст
Ответ на bug in numeric_power() function  ("Richard Wang" <ruc_wang@hotmail.com>)
Список pgsql-hackers
I also have a question here:
isn't dpow enough for calculation?
Why added numeric_power?
"Tom Lane" <tgl@sss.pgh.pa.us> д����Ϣ����:12538.1205298992@sss.pgh.pa.us...
> "Richard Wang" <ruc_wang@hotmail.com> writes:
>> I expected 0 ^ 123.3 to be 0, but it reported error as follows
>> postgres=# select 0 ^ 123.3;
>> ERROR:  cannot take logarithm of zero
>
> Hmm, seems like the numeric and float8 power operators don't agree
> about 0^0 either...
>
> regards, tom lane
>
> -- 
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
> 




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

Предыдущее
От:
Дата:
Сообщение: File your tax with NETFILE today
Следующее
От: NikhilS
Дата:
Сообщение: Re: COPY issue(gsoc project)