aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/t/030_createlang.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/scripts/t/030_createlang.pl')
-rw-r--r--src/bin/scripts/t/030_createlang.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/scripts/t/030_createlang.pl b/src/bin/scripts/t/030_createlang.pl
index 38e351670d0..ffbd35dcc5a 100644
--- a/src/bin/scripts/t/030_createlang.pl
+++ b/src/bin/scripts/t/030_createlang.pl
@@ -16,7 +16,7 @@ $node->start;
$node->command_fails([ 'createlang', 'plpgsql' ],
'fails if language already exists');
-$node->psql('postgres', 'DROP EXTENSION plpgsql');
+$node->safe_psql('postgres', 'DROP EXTENSION plpgsql');
$node->issues_sql_like(
[ 'createlang', 'plpgsql' ],
qr/statement: CREATE EXTENSION "plpgsql"/,