mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Further weaken new pg_createsubscriber test on Windows.
Also omit backslashes (\) in the generated database names on Windows. As before, perhaps we can revert this after updating affected buildfarm animals. Discussion: https://postgr.es/m/2509767.1719773880@sss.pgh.pa.us
This commit is contained in:
		@@ -30,8 +30,9 @@ sub generate_db
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	$dbname .= $suffix;
 | 
						$dbname .= $suffix;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# Old IPC::Run mis-quotes command line arguments containing '"' on Windows
 | 
						# On Windows, older IPC::Run versions can mis-quote command line arguments
 | 
				
			||||||
	$dbname =~ tr/\"//d if ($windows_os);
 | 
						# containing double quote or backslash
 | 
				
			||||||
 | 
						$dbname =~ tr/\"\\//d if ($windows_os);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	$node->command_ok(
 | 
						$node->command_ok(
 | 
				
			||||||
		[ 'createdb', $dbname ],
 | 
							[ 'createdb', $dbname ],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user