mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-30 00:04:49 -04:00 
			
		
		
		
	Adjust the SSL connection notification message
Suggested by Tom
This commit is contained in:
		
							parent
							
								
									5254958e92
								
							
						
					
					
						commit
						4b8f2859cc
					
				| @ -234,7 +234,7 @@ PerformAuthentication(Port *port) | ||||
| #ifdef USE_SSL | ||||
| 			if (port->ssl) | ||||
| 				ereport(LOG, | ||||
| 						(errmsg("replication connection authorized: user=%s SSL(protocol: %s, cipher: %s) enabled", | ||||
| 						(errmsg("replication connection authorized: user=%s SSL enabled (protocol=%s, cipher=%s)", | ||||
| 								port->user_name, SSL_get_version(port->ssl), SSL_get_cipher(port->ssl)))); | ||||
| 			else | ||||
| #endif | ||||
| @ -247,7 +247,7 @@ PerformAuthentication(Port *port) | ||||
| #ifdef USE_SSL | ||||
| 			if (port->ssl) | ||||
| 				ereport(LOG, | ||||
| 						(errmsg("connection authorized: user=%s database=%s SSL(protocol: %s, cipher: %s) enabled", | ||||
| 						(errmsg("connection authorized: user=%s database=%s SSL enabled (protocol=%s, cipher=%s)", | ||||
| 								port->user_name, port->database_name, SSL_get_version(port->ssl), SSL_get_cipher(port->ssl)))); | ||||
| 			else | ||||
| #endif | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user