firtst release
修訂 | 9806c9462f9bd59c7f604ddf174103f54eba941b (tree) |
---|---|
時間 | 2014-12-19 16:15:56 |
作者 | Kyotaro Horiguchi <horiguchi.kyotaro@lab....> |
Commiter | Kyotaro Horiguchi |
Fix regression test according to the changes of PostgreSQL.
PostgreSQL became to give WARNING for usage of hash indexes. This
change is to follow it.
@@ -36,6 +36,7 @@ CREATE INDEX p2_id_val_idx ON p2 (id, val); | ||
36 | 36 | CREATE UNIQUE INDEX p2_val_idx ON p2 (val); |
37 | 37 | CREATE INDEX p2_ununi_id_val_idx ON p2 (val); |
38 | 38 | CREATE INDEX p2_val_idx_1 ON p2 USING hash (val); |
39 | +WARNING: hash indexes are not WAL-logged and their use is discouraged | |
39 | 40 | CREATE INDEX p2_val_id_idx ON p2 (val, id); |
40 | 41 | CREATE INDEX p2_val_idx2 ON p2 (val COLLATE "ja_JP"); |
41 | 42 | CREATE INDEX p2_val_idx3 ON p2 (val varchar_ops); |
@@ -48,27 +49,35 @@ CREATE INDEX p2_val_idx7 ON p2 (val) WHERE id < 120; | ||
48 | 49 | CREATE TABLE p2_c1 (LIKE p2 INCLUDING ALL, CHECK (id <= 100)) INHERITS(p2); |
49 | 50 | NOTICE: merging column "id" with inherited definition |
50 | 51 | NOTICE: merging column "val" with inherited definition |
52 | +WARNING: hash indexes are not WAL-logged and their use is discouraged | |
51 | 53 | CREATE TABLE p2_c2 (LIKE p2 INCLUDING ALL, CHECK (id > 100 AND id <= 200)) INHERITS(p2); |
52 | 54 | NOTICE: merging column "id" with inherited definition |
53 | 55 | NOTICE: merging column "val" with inherited definition |
56 | +WARNING: hash indexes are not WAL-logged and their use is discouraged | |
54 | 57 | CREATE TABLE p2_c3 (LIKE p2 INCLUDING ALL, CHECK (id > 200 AND id <= 300)) INHERITS(p2); |
55 | 58 | NOTICE: merging column "id" with inherited definition |
56 | 59 | NOTICE: merging column "val" with inherited definition |
60 | +WARNING: hash indexes are not WAL-logged and their use is discouraged | |
57 | 61 | CREATE TABLE p2_c4 (LIKE p2 INCLUDING ALL, CHECK (id > 300)) INHERITS(p2); |
58 | 62 | NOTICE: merging column "id" with inherited definition |
59 | 63 | NOTICE: merging column "val" with inherited definition |
64 | +WARNING: hash indexes are not WAL-logged and their use is discouraged | |
60 | 65 | CREATE TABLE p2_c1_c1 (LIKE p2 INCLUDING ALL, CHECK (id <= 50)) INHERITS(p2_c1); |
61 | 66 | NOTICE: merging column "id" with inherited definition |
62 | 67 | NOTICE: merging column "val" with inherited definition |
68 | +WARNING: hash indexes are not WAL-logged and their use is discouraged | |
63 | 69 | CREATE TABLE p2_c1_c2 (LIKE p2 INCLUDING ALL, CHECK (id > 50 AND id <= 100)) INHERITS(p2_c1); |
64 | 70 | NOTICE: merging column "id" with inherited definition |
65 | 71 | NOTICE: merging column "val" with inherited definition |
72 | +WARNING: hash indexes are not WAL-logged and their use is discouraged | |
66 | 73 | CREATE TABLE p2_c3_c1 (LIKE p2 INCLUDING ALL, CHECK (id > 200 AND id <= 250)) INHERITS(p2_c3); |
67 | 74 | NOTICE: merging column "id" with inherited definition |
68 | 75 | NOTICE: merging column "val" with inherited definition |
76 | +WARNING: hash indexes are not WAL-logged and their use is discouraged | |
69 | 77 | CREATE TABLE p2_c3_c2 (LIKE p2 INCLUDING ALL, CHECK (id > 250 AND id <= 300)) INHERITS(p2_c3); |
70 | 78 | NOTICE: merging column "id" with inherited definition |
71 | 79 | NOTICE: merging column "val" with inherited definition |
80 | +WARNING: hash indexes are not WAL-logged and their use is discouraged | |
72 | 81 | CREATE TABLE s0.t1 (id int PRIMARY KEY, val int); |
73 | 82 | INSERT INTO t1 SELECT i, i % 100 FROM (SELECT generate_series(1, 10000) i) t; |
74 | 83 | INSERT INTO t2 SELECT i, i % 10 FROM (SELECT generate_series(1, 1000) i) t; |
@@ -143,6 +143,7 @@ CREATE INDEX ti1_i3 ON s1.ti1 (c2, c4, c4); | ||
143 | 143 | CREATE INDEX ti1_i4 ON s1.ti1 (c2, c4, c4, c4); |
144 | 144 | CREATE INDEX ti1_btree ON s1.ti1 USING btree (c1); |
145 | 145 | CREATE INDEX ti1_hash ON s1.ti1 USING hash (c1); |
146 | +WARNING: hash indexes are not WAL-logged and their use is discouraged | |
146 | 147 | CREATE INDEX ti1_gist ON s1.ti1 USING gist (c1); |
147 | 148 | CREATE INDEX ti1_gin ON s1.ti1 USING gin (c1); |
148 | 149 | CREATE INDEX ti1_expr ON s1.ti1 ((c1 < 100)); |