diff options
author | Alvaro Herrera | 2017-05-03 18:12:09 +0000 |
---|---|---|
committer | Alvaro Herrera | 2017-05-03 18:12:09 +0000 |
commit | 698923d6588ee15a386d26c45e5f25ee1a68cc34 (patch) | |
tree | 6eb831ce063bd43639d6e8303dce081e30d9e650 | |
parent | 8f8b9be51fd788bb11276df89606bc653163524e (diff) |
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/[email protected]
-rw-r--r-- | src/bin/pg_dump/t/002_pg_dump.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_dump/t/002_pg_dump.pl b/src/bin/pg_dump/t/002_pg_dump.pl index ccd0ed6a53..0d7a49826a 100644 --- a/src/bin/pg_dump/t/002_pg_dump.pl +++ b/src/bin/pg_dump/t/002_pg_dump.pl @@ -6414,7 +6414,8 @@ foreach my $test ( next; } - $create_sql .= $tests{$test}->{create_sql}; + # Add terminating semicolon + $create_sql .= $tests{$test}->{create_sql} . ";"; } } |