Re: Wish List: Client access to NUMERIC/DECIMAL type functions

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Wish List: Client access to NUMERIC/DECIMAL type functions
Дата
Msg-id 3D2EDBE9.D3FCA87A@Yahoo.com
обсуждение исходный текст
Ответ на Wish List: Client access to NUMERIC/DECIMAL type functions  ("Warren W. Gay VE3WWG" <ve3wwg@cogeco.ca>)
Список pgsql-interfaces
"Warren W. Gay VE3WWG" wrote:
> 
> It would be nice to see client side access to the decimal
> routines used by PostgreSQL to support the decimal/numeric
> data types. Are there any plans for that to happen?

If you mean to make the arbitrary precision arithmetic available inside
of the libpq, no there are no such plans.

The functions, which you can find in src/backend/utils/adt/numeric.c,
are designed and optimized to live inside of the PostgreSQL database
backend. There are several other arbitrary precision packages out in the
world, that fit alot better into client applications. 


Jan

-- 

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


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

Предыдущее
От: "Warren W. Gay VE3WWG"
Дата:
Сообщение: Wish List: Client access to NUMERIC/DECIMAL type functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: arrays as input parameter for c functions