mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	In pg_upgrade testing script, turn off command echo at the end so status
report is clearer.
This commit is contained in:
		
							parent
							
								
									ec8d1e32dd
								
							
						
					
					
						commit
						c47d261c07
					
				| @ -127,6 +127,11 @@ esac | |||||||
| 
 | 
 | ||||||
| pg_dumpall -f "$temp_root"/dump2.sql || pg_dumpall2_status=$? | pg_dumpall -f "$temp_root"/dump2.sql || pg_dumpall2_status=$? | ||||||
| pg_ctl -m fast stop | pg_ctl -m fast stop | ||||||
|  | 
 | ||||||
|  | # no need to echo commands anymore | ||||||
|  | set +x | ||||||
|  | echo | ||||||
|  | 
 | ||||||
| if [ -n "$pg_dumpall2_status" ]; then | if [ -n "$pg_dumpall2_status" ]; then | ||||||
| 	echo "pg_dumpall of post-upgrade database cluster failed" | 	echo "pg_dumpall of post-upgrade database cluster failed" | ||||||
| 	exit 1 | 	exit 1 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user