mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	terminate-psql-sessions: Rely on the caller to set PGHOST, PGUSER.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							f2ce856b8f
						
					
				
				
					commit
					fa2496c229
				
			| @@ -2,7 +2,8 @@ | ||||
| set -e | ||||
| set -x | ||||
|  | ||||
| "$(dirname "$0")/../scripts/setup/terminate-psql-sessions" zulip zulip zulip_base | ||||
| PGHOST=localhost PGUSER=zulip \ | ||||
|     "$(dirname "$0")/../scripts/setup/terminate-psql-sessions" zulip zulip_base | ||||
|  | ||||
| psql -v ON_ERROR_STOP=1 -e -h localhost postgres zulip <<EOF | ||||
| DROP DATABASE IF EXISTS zulip; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user