From: Tom Lane Date: Sat, 6 Mar 1999 21:25:04 +0000 (+0000) Subject: Reduce DEF_MAXBACKENDS to 32 so that default configuration X-Git-Tag: REL6_5~569 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d19fc4cacbc38279cdf44d960f686d06fa037196;p=postgresql Reduce DEF_MAXBACKENDS to 32 so that default configuration is less likely to fail for lack of semaphores. --- diff --git a/src/configure b/src/configure index f72f96f09f..fea71c37cb 100755 --- a/src/configure +++ b/src/configure @@ -890,9 +890,9 @@ EOF echo "$ac_t""$with_maxbackends" 1>&6 else cat >> confdefs.h <&6 + echo "$ac_t""32" 1>&6 fi diff --git a/src/configure.in b/src/configure.in index 33a67ec6b2..dfafbd44d6 100644 --- a/src/configure.in +++ b/src/configure.in @@ -255,13 +255,13 @@ AC_ARG_WITH( AC_DEFINE_UNQUOTED(DEF_PGPORT, "5432") AC_MSG_RESULT(5432) ) -dnl DEF_MAXBACKENDS can be set by --with-maxbackends. Default value is 64. +dnl DEF_MAXBACKENDS can be set by --with-maxbackends. Default value is 32. AC_MSG_CHECKING(setting DEF_MAXBACKENDS) AC_ARG_WITH( maxbackends, [ --with-maxbackends= set default maximum number of server processes ], AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, ${withval}) AC_MSG_RESULT($with_maxbackends), - AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, 64) AC_MSG_RESULT(64) + AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, 32) AC_MSG_RESULT(32) ) dnl We exclude tcl support unless user says --with-tcl