Fix portability issue in TAP tests of psql for locales
Michael Paquier <michael@paquier.xyz>
Fix portability issue in TAP tests of psql for locales Some locales use a comma as decimal separator (like Czech or French), and psql's 001_basic.pl for \timing was not able to handle that properly. This fixes the matching regexes to be able to handle both comma and dot as possible decimal separators, as per a suggestion from Andrew Dunstan. psql tests were the only place with such a portability issue (check-world passed here with a forced LANG/LANGUAGE). These tests are new as of c0280bc, so there is no need for a backpatch. Reported-by: Pavel Stehule Discussion: https://postgr.es/m/CAFj8pRBz8iQmd2aOaCLvO-rJY6vZr-h6Q0qvV0J+yb78J7uiaA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/t/001_basic.pl | modified | +3 −3 |
Discussion
- broken regress tests on fedora 36 6 messages · 2022-06-07 → 2022-06-09