mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	Fixes: In the solaris port the file descriptors are hard coded to 20 (from the
include file sys/param.h Submitted by: michael.siebenborn@ae3.Hypo.DE (Michael Siebenborn (6929))
This commit is contained in:
		
							parent
							
								
									55aab6a434
								
							
						
					
					
						commit
						bc0bd47c6a
					
				| @ -6,7 +6,7 @@ | |||||||
|  * Copyright (c) 1994, Regents of the University of California |  * Copyright (c) 1994, Regents of the University of California | ||||||
|  * |  * | ||||||
|  * IDENTIFICATION |  * IDENTIFICATION | ||||||
|  *    $Id: fd.c,v 1.2 1996/07/15 19:22:07 scrappy Exp $ |  *    $Id: fd.c,v 1.3 1996/07/18 04:59:42 scrappy Exp $ | ||||||
|  * |  * | ||||||
|  * NOTES: |  * NOTES: | ||||||
|  * |  * | ||||||
| @ -62,6 +62,11 @@ | |||||||
| #define NOFILE NOFILE_IN_U | #define NOFILE NOFILE_IN_U | ||||||
| #endif /* PORTNAME_sparc */ | #endif /* PORTNAME_sparc */ | ||||||
| 
 | 
 | ||||||
|  | #ifdef PORTNAME_sparc_solaris | ||||||
|  | #include <sys/user.h> | ||||||
|  | #undef NOFILE | ||||||
|  | #define NOFILE 64 | ||||||
|  | #endif /* PORTNAME_sparc_solaris */ | ||||||
| /*
 | /*
 | ||||||
|  * Problem: Postgres does a system(ld...) to do dynamic loading.  This |  * Problem: Postgres does a system(ld...) to do dynamic loading.  This | ||||||
|  * will open several extra files in addition to those used by |  * will open several extra files in addition to those used by | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user