]> granicus.if.org Git - postgresql/commitdiff
Fixes: In the solaris port the file descriptors are hard coded to 20 (from the
authorMarc G. Fournier <scrappy@hub.org>
Thu, 18 Jul 1996 04:59:42 +0000 (04:59 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Thu, 18 Jul 1996 04:59:42 +0000 (04:59 +0000)
       include file sys/param.h

Submitted by:  michael.siebenborn@ae3.Hypo.DE (Michael Siebenborn (6929))

src/backend/storage/file/fd.c

index 542e174eee6eda1a55fefd91534466d318316324..8f1bafef4d5e5a5cf27285173d61c2073cd63db1 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (c) 1994, Regents of the University of California
  *
  * 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:
  *
 #define NOFILE NOFILE_IN_U
 #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
  * will open several extra files in addition to those used by