mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	getting rid of numerous ad-hoc versions that have popped up in various places. Shortens code and avoids conflict with Windows min() and max() macros.
		
			
				
	
	
		
			11 lines
		
	
	
		
			204 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			204 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef MISC_UTILS_H
 | 
						|
#define MISC_UTILS_H
 | 
						|
 | 
						|
int			backend_pid(void);
 | 
						|
int			unlisten(char *relname);
 | 
						|
int			int4max(int x, int y);
 | 
						|
int			int4min(int x, int y);
 | 
						|
int			active_listeners(text *relname);
 | 
						|
 | 
						|
#endif
 |