mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix mistake in comment
The node->restart() function doesn't take a mode argument.
This commit is contained in:
		@@ -19,7 +19,7 @@ PostgresNode - class representing PostgreSQL server instance
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  # Change a setting and restart
 | 
					  # Change a setting and restart
 | 
				
			||||||
  $node->append_conf('postgresql.conf', 'hot_standby = on');
 | 
					  $node->append_conf('postgresql.conf', 'hot_standby = on');
 | 
				
			||||||
  $node->restart('fast');
 | 
					  $node->restart();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # run a query with psql, like:
 | 
					  # run a query with psql, like:
 | 
				
			||||||
  #   echo 'SELECT 1' | psql -qAXt postgres -v ON_ERROR_STOP=1
 | 
					  #   echo 'SELECT 1' | psql -qAXt postgres -v ON_ERROR_STOP=1
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user