• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

firtst release


Commit MetaInfo

修訂9806c9462f9bd59c7f604ddf174103f54eba941b (tree)
時間2014-12-19 16:15:56
作者Kyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

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.

Change Summary

差異

--- a/expected/init.out
+++ b/expected/init.out
@@ -36,6 +36,7 @@ CREATE INDEX p2_id_val_idx ON p2 (id, val);
3636 CREATE UNIQUE INDEX p2_val_idx ON p2 (val);
3737 CREATE INDEX p2_ununi_id_val_idx ON p2 (val);
3838 CREATE INDEX p2_val_idx_1 ON p2 USING hash (val);
39+WARNING: hash indexes are not WAL-logged and their use is discouraged
3940 CREATE INDEX p2_val_id_idx ON p2 (val, id);
4041 CREATE INDEX p2_val_idx2 ON p2 (val COLLATE "ja_JP");
4142 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;
4849 CREATE TABLE p2_c1 (LIKE p2 INCLUDING ALL, CHECK (id <= 100)) INHERITS(p2);
4950 NOTICE: merging column "id" with inherited definition
5051 NOTICE: merging column "val" with inherited definition
52+WARNING: hash indexes are not WAL-logged and their use is discouraged
5153 CREATE TABLE p2_c2 (LIKE p2 INCLUDING ALL, CHECK (id > 100 AND id <= 200)) INHERITS(p2);
5254 NOTICE: merging column "id" with inherited definition
5355 NOTICE: merging column "val" with inherited definition
56+WARNING: hash indexes are not WAL-logged and their use is discouraged
5457 CREATE TABLE p2_c3 (LIKE p2 INCLUDING ALL, CHECK (id > 200 AND id <= 300)) INHERITS(p2);
5558 NOTICE: merging column "id" with inherited definition
5659 NOTICE: merging column "val" with inherited definition
60+WARNING: hash indexes are not WAL-logged and their use is discouraged
5761 CREATE TABLE p2_c4 (LIKE p2 INCLUDING ALL, CHECK (id > 300)) INHERITS(p2);
5862 NOTICE: merging column "id" with inherited definition
5963 NOTICE: merging column "val" with inherited definition
64+WARNING: hash indexes are not WAL-logged and their use is discouraged
6065 CREATE TABLE p2_c1_c1 (LIKE p2 INCLUDING ALL, CHECK (id <= 50)) INHERITS(p2_c1);
6166 NOTICE: merging column "id" with inherited definition
6267 NOTICE: merging column "val" with inherited definition
68+WARNING: hash indexes are not WAL-logged and their use is discouraged
6369 CREATE TABLE p2_c1_c2 (LIKE p2 INCLUDING ALL, CHECK (id > 50 AND id <= 100)) INHERITS(p2_c1);
6470 NOTICE: merging column "id" with inherited definition
6571 NOTICE: merging column "val" with inherited definition
72+WARNING: hash indexes are not WAL-logged and their use is discouraged
6673 CREATE TABLE p2_c3_c1 (LIKE p2 INCLUDING ALL, CHECK (id > 200 AND id <= 250)) INHERITS(p2_c3);
6774 NOTICE: merging column "id" with inherited definition
6875 NOTICE: merging column "val" with inherited definition
76+WARNING: hash indexes are not WAL-logged and their use is discouraged
6977 CREATE TABLE p2_c3_c2 (LIKE p2 INCLUDING ALL, CHECK (id > 250 AND id <= 300)) INHERITS(p2_c3);
7078 NOTICE: merging column "id" with inherited definition
7179 NOTICE: merging column "val" with inherited definition
80+WARNING: hash indexes are not WAL-logged and their use is discouraged
7281 CREATE TABLE s0.t1 (id int PRIMARY KEY, val int);
7382 INSERT INTO t1 SELECT i, i % 100 FROM (SELECT generate_series(1, 10000) i) t;
7483 INSERT INTO t2 SELECT i, i % 10 FROM (SELECT generate_series(1, 1000) i) t;
--- a/expected/ut-init.out
+++ b/expected/ut-init.out
@@ -143,6 +143,7 @@ CREATE INDEX ti1_i3 ON s1.ti1 (c2, c4, c4);
143143 CREATE INDEX ti1_i4 ON s1.ti1 (c2, c4, c4, c4);
144144 CREATE INDEX ti1_btree ON s1.ti1 USING btree (c1);
145145 CREATE INDEX ti1_hash ON s1.ti1 USING hash (c1);
146+WARNING: hash indexes are not WAL-logged and their use is discouraged
146147 CREATE INDEX ti1_gist ON s1.ti1 USING gist (c1);
147148 CREATE INDEX ti1_gin ON s1.ti1 USING gin (c1);
148149 CREATE INDEX ti1_expr ON s1.ti1 ((c1 < 100));