Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bc0bd47

Browse files
committed
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))
1 parent 55aab6a commit bc0bd47

File tree

1 file changed

+6
-1
lines changed
  • src/backend/storage/file

1 file changed

+6
-1
lines changed

src/backend/storage/file/fd.c

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $Id: fd.c,v 1.2 1996/07/15 19:22:07 scrappy Exp $
9+
* $Id: fd.c,v 1.3 1996/07/18 04:59:42 scrappy Exp $
1010
*
1111
* NOTES:
1212
*
@@ -62,6 +62,11 @@
6262
#define NOFILE NOFILE_IN_U
6363
#endif /* PORTNAME_sparc */
6464

65+
#ifdef PORTNAME_sparc_solaris
66+
#include <sys/user.h>
67+
#undef NOFILE
68+
#define NOFILE 64
69+
#endif /* PORTNAME_sparc_solaris */
6570
/*
6671
* Problem: Postgres does a system(ld...) to do dynamic loading. This
6772
* will open several extra files in addition to those used by

0 commit comments

Comments
 (0)