• Peter Eisentraut's avatar
    PL/Python: Convert numeric to Decimal · 7919398b
    Peter Eisentraut authored
    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: default avatarSteve Singer <steve@ssinger.info>
    7919398b
plpython.sgml 48.2 KB