diff --git a/doc/src/sgml/ref/set.sgml b/doc/src/sgml/ref/set.sgml
index 2e84f539bd..bac4c06914 100644
--- a/doc/src/sgml/ref/set.sgml
+++ b/doc/src/sgml/ref/set.sgml
@@ -406,7 +406,7 @@ SET TIME ZONE { 'timezone' | LOCAL
This algorithm is on by default, which used GEQO for
- statements of six or more tables.
+ statements of eleven or more tables.
(See the chapter on GEQO in the Programmer's Guide
for more information).
diff --git a/src/include/optimizer/internal.h b/src/include/optimizer/internal.h
index a9c32f535e..24eb5327cb 100644
--- a/src/include/optimizer/internal.h
+++ b/src/include/optimizer/internal.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: internal.h,v 1.17 1999/02/18 05:26:29 momjian Exp $
+ * $Id: internal.h,v 1.18 1999/03/07 12:00:38 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -84,6 +84,6 @@
/*#define joininfo_inactive(joininfo) joininfo->inactive */
/* GEQO switch according to number of relations in a query */
-#define GEQO_RELS 6
+#define GEQO_RELS 11
#endif /* INTERNAL_H */
diff --git a/src/man/set.l b/src/man/set.l
index 281a762019..38e644faa3 100644
--- a/src/man/set.l
+++ b/src/man/set.l
@@ -1,6 +1,6 @@
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/set.l,v 1.15 1999/02/18 06:01:11 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/set.l,v 1.16 1999/03/07 12:00:40 momjian Exp $
.TH SET SQL 05/14/97 PostgreSQL PostgreSQL
.SH NAME
set - set run-time parameters for session
@@ -44,7 +44,7 @@ determines the output format for the date and time data types.
.IR GEQO
enables or disables the genetic optimizer algorithm. This algorithm is
.IR on
-by default, which used GEQO for statements of six or more tables.
+by default, which used GEQO for statements of eleven or more tables.
Set the
.IR Programmer's Guide
for more information.