[PATCH] Fix conversion for Decimal arguments in plpython functions - Mailing list pgsql-hackers

From Szymon Guz
Subject [PATCH] Fix conversion for Decimal arguments in plpython functions
Date
Msg-id CAFjNrYuh=4Vwnv=2N7Cj0JJuwC4HOoL1epXsOFLj6S19U02yow@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Fix conversion for Decimal arguments in plpython functions  (Steve Singer <steve@ssinger.info>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_rewind, a tool for resynchronizing an old master after failover
Next
From: Bruce Momjian
Date:
Subject: Re: Unsigned integer types