From a564d2bf0f5f72a752ddc4a212731404eccf403e Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Sun, 7 Mar 1999 12:00:40 +0000
Subject: [PATCH] geqo now at 11 tables

---
 doc/src/sgml/ref/set.sgml        | 2 +-
 src/include/optimizer/internal.h | 4 ++--
 src/man/set.l                    | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/src/sgml/ref/set.sgml b/doc/src/sgml/ref/set.sgml
index 2e84f539bd5..bac4c069148 100644
--- a/doc/src/sgml/ref/set.sgml
+++ b/doc/src/sgml/ref/set.sgml
@@ -406,7 +406,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
 	  </para>
 	  <para>
 		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).
 	  </para>
diff --git a/src/include/optimizer/internal.h b/src/include/optimizer/internal.h
index a9c32f535e2..24eb5327cb0 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 281a7620197..38e644faa33 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.
-- 
GitLab