OSDN Git Service

データの更新を容易にするために、ヒント用テーブルにid列を追加した。
authorTakashi Suzuki <suzuki.takashi@metrosystems.co.jp>
Thu, 8 Aug 2013 00:29:14 +0000 (09:29 +0900)
committerTakashi Suzuki <suzuki.takashi@metrosystems.co.jp>
Thu, 8 Aug 2013 00:29:14 +0000 (09:29 +0900)
pg_hint_plan--1.0.sql

index 1c5d9cb..d07351a 100644 (file)
@@ -4,8 +4,9 @@
 \echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit
 
 CREATE TABLE hint_plan.hints (
+       id                                      serial  NOT NULL,
        norm_query_string       text    NOT NULL,
        application_name        text    NOT NULL,
        hints                           text    NOT NULL,
-       PRIMARY KEY (norm_query_string, application_name)
+       PRIMARY KEY (id)
 );