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

Commit698923d

Browse files
committed
pg_dump/t/002: append terminating semicolon to SQL commands
It's easy to overlook the need for one, and its lack is annoying for thenext developer wanting to create a new test. Rather than expect everyindividual command to add the semicolon, just append one automatically.Discussion:http://postgr.es/m/20170503172746.rwftidszir67sgk7@alvherre.pgsql
1 parent8f8b9be commit698923d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/pg_dump/t/002_pg_dump.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6414,7 +6414,8 @@
64146414
next;
64156415
}
64166416
6417-
$create_sql .=$tests{$test}->{create_sql};
6417+
# Add terminating semicolon
6418+
$create_sql .=$tests{$test}->{create_sql} . ";";
64186419
}
64196420
}
64206421

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp