summaryrefslogtreecommitdiff
path: root/src/backend/commands/conversioncmds.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2013-07-05 22:41:25 -0400
committerPeter Eisentraut <peter_e@gmx.net>2013-07-05 22:41:25 -0400
commit7919398bac8bacd75ec5d763ce8b15ffaaa3e071 (patch)
treee5c1a77a161560da6ce1a6879f9bf3d3408a81eb /src/backend/commands/conversioncmds.c
parent02d2b694ee42a9e241d37ce67df122fff43d5bb9 (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/commands/conversioncmds.c')
0 files changed, 0 insertions, 0 deletions