Skip to content

Commit 1f040c1

Browse files
author
Liudmila Mantrova
committed
Bug fix for aqo docs
1 parent bface17 commit 1f040c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/aqo.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ shared_preload_libraries = 'aqo'
4444
Create the <filename>aqo</filename> extension using the following query:
4545
</para>
4646
<programlisting>
47-
&quot;CREATE EXTENSION aqo;&quot;
47+
CREATE EXTENSION aqo;
4848
</programlisting>
4949
</listitem>
5050
</orderedlist>
@@ -231,7 +231,7 @@ SELECT * FROM aqo_queries;
231231

232232
SET aqo.mode='intelligent';
233233
SELECT * FROM a, b WHERE a.id=b.id;
234-
SET aqo.mode='manual';
234+
SET aqo.mode='controlled';
235235

236236
-- Disable auto_tuning, enable both learn_aqo and use_aqo
237237
-- for this query type:
@@ -325,7 +325,7 @@ UPDATE aqo_queries SET use_aqo=false, learn_aqo=false, auto_tuning=false;
325325
<entry>Optimizes all queries together, regardless of the query type.</entry>
326326
</row>
327327
<row>
328-
<entry><literal>manual</literal></entry>
328+
<entry><literal>controlled</literal></entry>
329329
<entry><emphasis role="strong">Default.</emphasis> Uses the default planner for all new queries, but can reuse the collected statistics for already known query types, if any.</entry>
330330
</row>
331331
<row>
@@ -424,7 +424,7 @@ UPDATE aqo_queries SET use_aqo=false, learn_aqo=false, auto_tuning=false;
424424
intelligent mode. In other modes, new queries are not
425425
appended to <structname>aqo_queries</structname> automatically.
426426
You can change this behavior by setting the
427-
<literal>auto_tuning</literal> variable to TRUE.</entry>
427+
<literal>auto_tuning</literal> variable to <literal>true</literal>.</entry>
428428
</row>
429429
</tbody>
430430
</tgroup>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy