Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8ed428d

Browse files
committed
(Blindly) tweak new test regex
gcc-based Windows buildfarm animals are not happy about a multilineregular expression I added recently. Try to accomodate; existingpg_basebackup tests suggest that \n should work instead of a barenewline, but throw in \r also. This being perl, TIMTOWTDI.Also remove the pointless $ at the end of the pattern, for extra luck.(If this doesn't work, I'll probably just split the regex in two.)Per buildfarm members jacana and fairywren.Discussion:https://postgr.es/m/3562.1576161217@sss.pgh.pa.us
1 parenta41a145 commit8ed428d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/bin/pgbench/t/001_pgbench_with_server.pl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,7 @@ sub pgbench
296296
[],
297297
[
298298
qr{ERROR: invalid input syntax for type json},
299-
qr[CONTEXT: JSON data, line 1:\{ invalid\.\.\.
300-
extended query with parameters:\$1 = '\{ invalid ',\$2 = '''Valame Dios!'' dijo Sancho; ''no le dije yo a vuestra merced que ...'$]m
299+
qr[CONTEXT: JSON data, line 1:\{ invalid\.\.\.[\r\n]+extended query with parameters:\$1 = '\{ invalid ',\$2 = '''Valame Dios!'' dijo Sancho; ''no le dije yo a vuestra merced que\.\.\.']m
301300
],
302301
'server parameter logging',
303302
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp