aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-03-06 21:25:04 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-03-06 21:25:04 +0000
commitd19fc4cacbc38279cdf44d960f686d06fa037196 (patch)
treed9cc37563b1eaf16c49ab9fa844acff5286bf390 /src
parent731603a92b115db97c1202df243954195070c500 (diff)
downloadpostgresql-d19fc4cacbc38279cdf44d960f686d06fa037196.tar.gz
postgresql-d19fc4cacbc38279cdf44d960f686d06fa037196.zip
Reduce DEF_MAXBACKENDS to 32 so that default configuration
is less likely to fail for lack of semaphores.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/configure4
-rw-r--r--src/configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/configure b/src/configure
index f72f96f09fe..fea71c37cbb 100755
--- a/src/configure
+++ b/src/configure
@@ -890,9 +890,9 @@ EOF
echo "$ac_t""$with_maxbackends" 1>&6
else
cat >> confdefs.h <<EOF
-#define DEF_MAXBACKENDS 64
+#define DEF_MAXBACKENDS 32
EOF
- echo "$ac_t""64" 1>&6
+ echo "$ac_t""32" 1>&6
fi
diff --git a/src/configure.in b/src/configure.in
index 33a67ec6b22..dfafbd44d61 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=<n> 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