Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8670b9b commit bd5846eCopy full SHA for bd5846e
src/bin/psql/t/020_cancel.pl
@@ -53,7 +53,7 @@
53
# Send sleep command and wait until the server has registered it
54
$stdin = "select pg_sleep(180);\n";
55
pump $h while length $stdin;
56
- $node->poll_query_until('postgres', q{SELECT (SELECT count(*) FROM pg_stat_activity WHERE query ~ 'pg_sleep') > 0;})
+ $node->poll_query_until('postgres', q{SELECT (SELECT count(*) FROM pg_stat_activity WHERE query ~ '^select pg_sleep') > 0;})
57
or die "timed out";
58
59
# Send cancel request
0 commit comments