forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcd82e5c
committed
Fix locale-dependent test case.
psql parses the interval argument of \watch with locale-dependentstrtod(). In commit00beecf I added a test case that exercisesa fractional interval, but I hard-coded 0.01 which doesn't workin locales where the radix point isn't ".". We don't want tochange this longstanding parsing behavior, so fix the test caseto generate a suitably locale-aware spelling.Report and patch by Alexander Korotkov.Discussion:https://postgr.es/m/CAPpHfdv+10Uk6FWjsh3+ju7kHYr76LaRXbYayXmrM7FBU-=Hgg@mail.gmail.com1 parent21d7c05 commitcd82e5c
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
| |||
351 | 352 |
| |
352 | 353 |
| |
353 | 354 |
| |
| 355 | + | |
354 | 356 |
| |
355 | 357 |
| |
356 |
| - | |
| 358 | + | |
357 | 359 |
| |
358 | 360 |
| |
359 | 361 |
| |
|
0 commit comments
Comments
(0)