diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2013-07-05 22:41:25 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2013-07-05 22:41:25 -0400 |
commit | 7919398bac8bacd75ec5d763ce8b15ffaaa3e071 (patch) | |
tree | e5c1a77a161560da6ce1a6879f9bf3d3408a81eb /src/backend/access/transam/xlog.c | |
parent | 02d2b694ee42a9e241d37ce67df122fff43d5bb9 (diff) |
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>
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions