mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
OK, The votes are in for the NOFILES limit. With the exception of Next, for which I've not yet heard, all supported platforms seem to have the sysconf() call. port supported default Source. aix yes 2000 darrenk@insightdist.com alpha yes 4096 mjl@wwx.vip.at BSD44_derived yes 64 scrappy@hub.org bsdi yes ??? maillist@candle.pha.pa.us dgux yes ??? geek@andrew.cmu.edu hpux yes 60 emkxp01@mtcc.demon.co.uk i386_solaris yes 64 emkxp01@mtcc.demon.co.uk irix5 yes 200 martin@biochem.uc.ac.uk linux yes 256 emkxp01@mtcc.demon.co.uk next ???? ??? sparc_solaris yes 64 emkxp01@mtcc.demon.co.uk sunos4 yes 64 emkxp01@mtcc.demon.co.uk svr4 yes 64 chicks@chicks.net ultrix4 yes 64 erik@sockdev.uni-c.dk So here's a patch that I think will do the job. (I assume Next will have sysconf() but if not just add MISSING_SYSCONF to the config.h file ) Thanks, Keith.
This commit is contained in:
@@ -102,7 +102,6 @@
|
||||
# define HAVE_TZSET
|
||||
# define NEED_UNION_SEMUN
|
||||
# define SYSV_DIRENT
|
||||
# define NEED_NOFILE_KLUDGE
|
||||
# define SB_PAD 56
|
||||
# define HAS_TEST_AND_SET
|
||||
typedef unsigned char slock_t;
|
||||
@@ -172,7 +171,6 @@ typedef unsigned char slock_t;
|
||||
|
||||
#if defined(sunos4)
|
||||
# define USE_POSIX_TIME
|
||||
# define NEED_NOFILE_KLUDGE
|
||||
# define SB_PAD 56
|
||||
# undef HAVE_MEMMOVE
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user