diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-07-27 10:39:05 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-07-27 10:39:05 +0900 |
commit | f7a9a3d4b24a4ad0de7992f01a0dd2a02ccd30a4 (patch) | |
tree | e842018568c7929d3125b7ea9c2f5c1d78bc605f /src/backend/jit/llvm/llvmjit_expr.c | |
parent | 21b3aa9c8faf39ef45a5223681d8947e0a00e7da (diff) | |
download | postgresql-f7a9a3d4b24a4ad0de7992f01a0dd2a02ccd30a4.tar.gz postgresql-f7a9a3d4b24a4ad0de7992f01a0dd2a02ccd30a4.zip |
Skip trailing whitespaces when parsing integer options
strtoint(), via strtol(), would skip leading whitespaces but the same
rule was not applied for trailing whitespaces, leading to an
inconsistent behavior. Some tests are changed to cover more this area.
Author: Michael Paquier
Reviewed-by: Kyotaro Horiguchi
Discussion: https://postgr.es/m/YP5Pv0d13Ct+03ve@paquier.xyz
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions