v2-0002-030-pager-fix.patch
text/x-diff
Filename: v2-0002-030-pager-fix.patch
Type: text/x-diff
Part: 0
Patch
Format: unified
Series: patch v2-0002
| File | + | − |
|---|---|---|
| src/bin/psql/t/030_pager.pl | 3 | 3 |
diff --git a/src/bin/psql/t/030_pager.pl b/src/bin/psql/t/030_pager.pl index cf81fb1603c..3e34ae1a16f 100644 --- a/src/bin/psql/t/030_pager.pl +++ b/src/bin/psql/t/030_pager.pl @@ -85,17 +85,17 @@ do_command( do_command( "SELECT 'test' AS t FROM generate_series(1,24);\n", - qr/^ *24\r?$/m, + qr/^.*24\r?$/m, "execute SELECT query that needs pagination"); do_command( "\\pset expanded\nSELECT generate_series(1,20) as g;\n", - qr/^ *39\r?$/m, + qr/^.*39\r?$/m, "execute SELECT query that needs pagination in expanded mode"); do_command( "\\pset tuples_only off\n\\d+ information_schema.referential_constraints\n", - qr/^ *\d+\r?$/m, + qr/^.*\d+\r?$/m, "execute command with footer that needs pagination"); # send psql an explicit \q to shut it down, else pty won't close properly