Update README
[plantuner.git] / expected / plantuner.out
1 LOAD 'plantuner';
2 SHOW    plantuner.forbid_index;
3  plantuner.forbid_index 
4 ------------------------
5  
6 (1 row)
7
8 CREATE TABLE wow (i int, j int);
9 CREATE INDEX i_idx ON wow (i);
10 CREATE INDEX j_idx ON wow (j);
11 SET enable_seqscan=off;
12 SELECT * FROM wow;
13  i | j 
14 ---+---
15 (0 rows)
16
17 SET plantuner.forbid_index="i_idx, j_idx";
18 SELECT * FROM wow;
19  i | j 
20 ---+---
21 (0 rows)
22
23 SHOW plantuner.forbid_index;
24    plantuner.forbid_index   
25 ----------------------------
26  public.i_idx, public.j_idx
27 (1 row)
28
29 SET plantuner.forbid_index="i_idx, nonexistent, public.j_idx, wow";
30 WARNING:  'nonexistent' does not exist
31 WARNING:  'wow' is not an index
32 SHOW plantuner.forbid_index;
33    plantuner.forbid_index   
34 ----------------------------
35  public.i_idx, public.j_idx
36 (1 row)
37