• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revision78f932310a1390e5ac5f5ea8eadb5d6b2cc3136d (tree)
Time2013-08-09 16:33:56
AuthorTakashi Suzuki <suzuki.takashi@metr...>
CommiterTakashi Suzuki

Log Message

ヒント用テーブルにヒント検索高速化用のインデックスを作成した。

Change Summary

Incremental Difference

--- a/expected/ut-A-9.1.out
+++ b/expected/ut-A-9.1.out
@@ -181,6 +181,7 @@ SET pg_hint_plan.enable_hint_table TO on;
181181 hints | text | not null
182182 Indexes:
183183 "hints_pkey" PRIMARY KEY, btree (id)
184+ "hints_norm_and_app" UNIQUE, btree (norm_query_string, application_name)
184185
185186 ----
186187 ---- No. A-6-2 search condition
--- a/expected/ut-A-9.2.out
+++ b/expected/ut-A-9.2.out
@@ -181,6 +181,7 @@ SET pg_hint_plan.enable_hint_table TO on;
181181 hints | text | not null
182182 Indexes:
183183 "hints_pkey" PRIMARY KEY, btree (id)
184+ "hints_norm_and_app" UNIQUE, btree (norm_query_string, application_name)
184185
185186 ----
186187 ---- No. A-6-2 search condition
--- a/pg_hint_plan--1.0.sql
+++ b/pg_hint_plan--1.0.sql
@@ -10,3 +10,7 @@ CREATE TABLE hint_plan.hints (
1010 hints text NOT NULL,
1111 PRIMARY KEY (id)
1212 );
13+CREATE UNIQUE INDEX hints_norm_and_app ON hint_plan.hints (
14+ norm_query_string,
15+ application_name
16+);
Show on old repository browser