• Tom Lane's avatar
    Further fix for psql's code for locale-aware formatting of numeric output. · 77130fc1
    Tom Lane authored
    (Third time's the charm, I hope.)
    
    Additional testing disclosed that this code could mangle already-localized
    output from the "money" datatype.  We can't very easily skip applying it
    to "money" values, because the logic is tied to column right-justification
    and people expect "money" output to be right-justified.  Short of
    decoupling that, we can fix it in what should be a safe enough way by
    testing to make sure the string doesn't contain any characters that would
    not be expected in plain numeric output.
    77130fc1
print.c 76.6 KB