1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Make GEQO use dependent on table and index count.

This commit is contained in:
Bruce Momjian
1999-02-02 20:30:18 +00:00
parent eb3415538e
commit f1b7823471
4 changed files with 37 additions and 15 deletions

View File

@ -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 six or more tables and indexes.
(See the chapter on GEQO in the Programmer's Guide
for more information).
</para>
@ -676,6 +676,11 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
--
SET DATESTYLE TO 'ISO';
</programlisting>
<programlisting>
--Enable GEQO for queries with 4 or more tables and indexes
--
SET GEQO ON=4;
</programlisting>
<programlisting>
--Set GEQO to default:
--