psql/t/001_basic: use locale-aware decimals in new test
As cd82e5c79d14 did. Otherwise, the test fails in locales that use decimal separators other than ".".
This commit is contained in:
parent
db6d9891e8
commit
8421f6bce1
@ -370,11 +370,11 @@ psql_fails_like(
|
|||||||
|
|
||||||
psql_like(
|
psql_like(
|
||||||
$node,
|
$node,
|
||||||
q{with x as (
|
sprintf(q{with x as (
|
||||||
select now()-backend_start AS howlong
|
select now()-backend_start AS howlong
|
||||||
from pg_stat_activity
|
from pg_stat_activity
|
||||||
where pid = pg_backend_pid()
|
where pid = pg_backend_pid()
|
||||||
) select 123 from x where howlong < '2 seconds' \watch i=0.5 m=2},
|
) select 123 from x where howlong < '2 seconds' \watch i=%g m=2}, 0.5),
|
||||||
qr/^123$/,
|
qr/^123$/,
|
||||||
'\watch, 2 minimum rows');
|
'\watch, 2 minimum rows');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user