git.postgresql.org Git - postgresql.git/commit
Sat, 6 Jul 2013 02:41:25 +0000 (22:41 -0400)
Sat, 6 Jul 2013 02:41:25 +0000 (22:41 -0400)
commit 7919398bac8bacd75ec5d763ce8b15ffaaa3e071
PL/Python: Convert numeric to Decimal
The old implementation converted PostgreSQL numeric to Python float,
which was always considered a shortcoming. Now numeric is converted to
the Python Decimal object. Either the external cdecimal module or the
standard library decimal module are supported.
From: Szymon Guz <mabewlun@gmail.com>
From: Ronan Dunklau <rdunklau@gmail.com>
Reviewed-by: Steve Singer <steve@ssinger.info>
This is the main PostgreSQL git repository.
RSS
Atom