mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-01 19:45:33 +08:00
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 the next developer wanting to create a new test. Rather than expect every individual command to add the semicolon, just append one automatically. Discussion: http://postgr.es/m/20170503172746.rwftidszir67sgk7@alvherre.pgsql
This commit is contained in:
parent
8f8b9be51f
commit
698923d658
@ -6414,7 +6414,8 @@ foreach my $test (
|
||||
next;
|
||||
}
|
||||
|
||||
$create_sql .= $tests{$test}->{create_sql};
|
||||
# Add terminating semicolon
|
||||
$create_sql .= $tests{$test}->{create_sql} . ";";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user