]> granicus.if.org Git - postgresql/commitdiff
doc: Replace non-ASCII lines in psql example output
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 12 Jun 2018 12:19:52 +0000 (08:19 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 12 Jun 2018 12:19:52 +0000 (08:19 -0400)
We normally use the default line mode in examples.

doc/src/sgml/jit.sgml

index 6a712ff7c2e5b6aabd24f6cdfc6d561aa30d8555..1abec1ef42b0e0c9a8e4016aba8c7870dcbaef6c 100644 (file)
    is not using <acronym>JIT</acronym>:
 <screen>
 =# EXPLAIN ANALYZE SELECT SUM(relpages) FROM pg_class;
-┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
-│                                                 QUERY PLAN                                                  │
-├─────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
-│ Aggregate  (cost=16.27..16.29 rows=1 width=8) (actual time=0.303..0.303 rows=1 loops=1)                     │
-│   ->  Seq Scan on pg_class  (cost=0.00..15.42 rows=342 width=4) (actual time=0.017..0.111 rows=356 loops=1) │
-│ Planning Time: 0.116 ms                                                                                     │
-│ Execution Time: 0.365 ms                                                                                    │
-└─────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
+                                                 QUERY PLAN
+-------------------------------------------------------------------------------------------------------------
+ Aggregate  (cost=16.27..16.29 rows=1 width=8) (actual time=0.303..0.303 rows=1 loops=1)
+   ->  Seq Scan on pg_class  (cost=0.00..15.42 rows=342 width=4) (actual time=0.017..0.111 rows=356 loops=1)
+ Planning Time: 0.116 ms
+ Execution Time: 0.365 ms
 (4 rows)
 </screen>
    Given the cost of the plan, it is entirely reasonable that no
 =# SET jit_above_cost = 10;
 SET
 =# EXPLAIN ANALYZE SELECT SUM(relpages) FROM pg_class;
-┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
-│                                                 QUERY PLAN                                                  │
-├─────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
-│ Aggregate  (cost=16.27..16.29 rows=1 width=8) (actual time=6.049..6.049 rows=1 loops=1)                     │
-│   ->  Seq Scan on pg_class  (cost=0.00..15.42 rows=342 width=4) (actual time=0.019..0.052 rows=356 loops=1) │
-│ Planning Time: 0.133 ms                                                                                     │
-│ JIT:                                                                                                        │
-│   Functions: 3                                                                                              │
-│   Generation Time: 1.259 ms                                                                                 │
-│   Inlining: false                                                                                           │
-│   Inlining Time: 0.000 ms                                                                                   │
-│   Optimization: false                                                                                       │
-│   Optimization Time: 0.797 ms                                                                               │
-│   Emission Time: 5.048 ms                                                                                   │
-│ Execution Time: 7.416 ms                                                                                    │
-└─────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
+                                                 QUERY PLAN
+-------------------------------------------------------------------------------------------------------------
+ Aggregate  (cost=16.27..16.29 rows=1 width=8) (actual time=6.049..6.049 rows=1 loops=1)
+   ->  Seq Scan on pg_class  (cost=0.00..15.42 rows=342 width=4) (actual time=0.019..0.052 rows=356 loops=1)
+ Planning Time: 0.133 ms
+ JIT:
+   Functions: 3
+   Generation Time: 1.259 ms
+   Inlining: false
+   Inlining Time: 0.000 ms
+   Optimization: false
+   Optimization Time: 0.797 ms
+   Emission Time: 5.048 ms
+ Execution Time: 7.416 ms
 </screen>
    As visible here, <acronym>JIT</acronym> was used, but inlining and
    expensive optimization were not. If <xref