aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_userfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-04-07 10:35:11 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2023-04-07 10:35:11 -0400
commitcd82e5c79d145dddd7a30ed35e4d3b83945b56f3 (patch)
tree9130cbda9eca639ddc900705a1df6bdcb661e985 /src/backend/utils/adt/array_userfuncs.c
parent21d7c05a5cf7637cbdf2739006936bb9d279d505 (diff)
downloadpostgresql-cd82e5c79d145dddd7a30ed35e4d3b83945b56f3.tar.gz
postgresql-cd82e5c79d145dddd7a30ed35e4d3b83945b56f3.zip
Fix locale-dependent test case.
psql parses the interval argument of \watch with locale-dependent strtod(). In commit 00beecfe8 I added a test case that exercises a fractional interval, but I hard-coded 0.01 which doesn't work in locales where the radix point isn't ".". We don't want to change this longstanding parsing behavior, so fix the test case to generate a suitably locale-aware spelling. Report and patch by Alexander Korotkov. Discussion: https://postgr.es/m/CAPpHfdv+10Uk6FWjsh3+ju7kHYr76LaRXbYayXmrM7FBU-=Hgg@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions