aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-08-29 09:34:21 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-08-29 09:34:21 -0400
commit09ec0eb7a6e83aea8adb4522e92138974401cce3 (patch)
treeb3bf5309651d4e5d6e85549c12a000df156942d2 /src/backend/executor/execParallel.c
parent2ff326dc4410c283515237cf311358afb9845912 (diff)
downloadpostgresql-09ec0eb7a6e83aea8adb4522e92138974401cce3.tar.gz
postgresql-09ec0eb7a6e83aea8adb4522e92138974401cce3.zip
Improve docs about numeric formatting patterns (to_char/to_number).
The explanation about "0" versus "9" format characters was confusing and arguably wrong; the discussion of sign handling wasn't very good either. Notably, while it's accurate to say that "FM" strips leading zeroes in date/time values, what it really does with numeric values is to strip *trailing* zeroes, and then only if you wrote "9" rather than "0". Per gripes from Erwin Brandstetter. Discussion: https://postgr.es/m/CAGHENJ7jgRbTn6nf48xNZ=FHgL2WQ4X8mYsUAU57f-vq8PubEw@mail.gmail.com Discussion: https://postgr.es/m/CAGHENJ45ymd=GOCu1vwV9u7GmCR80_5tW0fP9C_gJKbruGMHvQ@mail.gmail.com
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions