[PATCH] Fix conversion for Decimal arguments in plpython functions

Поиск
Список
Период
Сортировка
От Szymon Guz
Тема [PATCH] Fix conversion for Decimal arguments in plpython functions
Дата
Msg-id CAFjNrYuh=4Vwnv=2N7Cj0JJuwC4HOoL1epXsOFLj6S19U02yow@mail.gmail.com
обсуждение исходный текст
Ответы Re: [PATCH] Fix conversion for Decimal arguments in plpython functions
Список pgsql-hackers
Hi,
I've got a patch.

This is for a plpython enhancement.

"Fix loss of information during conversion of numeric type to Python float"

This patch uses a decimal.Decimal type from Python standard library for the plpthon function numeric argument instead of float.

Patch contains changes in code, documentation and tests.

Most probably there is something wrong, as this is my first Postgres patch :)

thanks,
Szymon

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_rewind, a tool for resynchronizing an old master after failover
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Unsigned integer types