]> granicus.if.org Git - postgresql/commitdiff
Fix mistake in comment
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 12 Jan 2017 17:00:00 +0000 (12:00 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 12 Jan 2017 15:24:10 +0000 (10:24 -0500)
The node->restart() function doesn't take a mode argument.

src/test/perl/PostgresNode.pm

index 053c5ea78720d1eb7b9607c376c9161443eb81f4..868492b615233c3b060df65198593bfdb647068d 100644 (file)
@@ -19,7 +19,7 @@ PostgresNode - class representing PostgreSQL server instance
 
   # Change a setting and restart
   $node->append_conf('postgresql.conf', 'hot_standby = on');
-  $node->restart('fast');
+  $node->restart();
 
   # run a query with psql, like:
   #   echo 'SELECT 1' | psql -qAXt postgres -v ON_ERROR_STOP=1