firtst release
Revision | a60dec0ac6f9a9cd1248b5ebadbfa4951712e8d5 (tree) |
---|---|
Zeit | 2020-10-29 21:20:30 |
Autor | Kyotaro Horiguchi <horikyoga.ntt@gmai...> |
Commiter | Kyotaro Horiguchi |
Fix bogus upgrade scripts.
@@ -1,6 +1,7 @@ | ||
1 | 1 | /* pg_hint_plan/pg_hint_plan--1.3.0--1.3.1.sql */ |
2 | 2 | |
3 | --- complain if script is sourced in psql, rather than via CREATE EXTENSION | |
4 | -\echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit | |
3 | +-- complain if script is sourced in psql, rather than via ALTER EXTENSION | |
4 | +\echo Use "ALTER EXTENSION pg_dbms_stats UPDATE TO '1.3.1'" to load this file. | |
5 | +\quit | |
5 | 6 | |
6 | 7 | -- nothing to do upgrading from 1.3.0. |
@@ -1,6 +1,7 @@ | ||
1 | 1 | /* pg_hint_plan/pg_hint_plan--1.3.1--1.3.2.sql */ |
2 | 2 | |
3 | --- complain if script is sourced in psql, rather than via CREATE EXTENSION | |
4 | -\echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit | |
3 | +-- complain if script is sourced in psql, rather than via ALTER EXTENSION | |
4 | +\echo Use "ALTER EXTENSION pg_dbms_stats UPDATE TO '1.3.2'" to load this file. | |
5 | +\quit | |
5 | 6 | |
6 | 7 | -- nothing to do upgrading from 1.3.1. |
@@ -1,6 +1,7 @@ | ||
1 | 1 | /* pg_hint_plan/pg_hint_plan--1.3.2--1.3.3.sql */ |
2 | 2 | |
3 | --- complain if script is sourced in psql, rather than via CREATE EXTENSION | |
4 | -\echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit | |
3 | +-- complain if script is sourced in psql, rather than via ALTER EXTENSION | |
4 | +\echo Use "ALTER EXTENSION pg_dbms_stats UPDATE TO '1.3.3'" to load this file. | |
5 | +\quit | |
5 | 6 | |
6 | 7 | -- nothing to do upgrading from 1.3.2. |
@@ -1,6 +1,7 @@ | ||
1 | 1 | /* pg_hint_plan/pg_hint_plan--1.3.3--1.3.5.sql */ |
2 | 2 | |
3 | --- complain if script is sourced in psql, rather than via CREATE EXTENSION | |
4 | -\echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit | |
3 | +-- complain if script is sourced in psql, rather than via ALTER EXTENSION | |
4 | +\echo Use "ALTER EXTENSION pg_dbms_stats UPDATE TO '1.3.5'" to load this file. | |
5 | +\quit | |
5 | 6 | |
6 | 7 | -- nothing to do upgrading from 1.3.3. |
@@ -1,7 +1,4 @@ | ||
1 | 1 | /* pg_hint_plan/pg_hint_plan--1.3.5--1.3.6.sql */ |
2 | 2 | |
3 | --- complain if script is sourced in psql, rather than via CREATE EXTENSION | |
4 | -\echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit | |
5 | - | |
6 | 3 | SELECT pg_catalog.pg_extension_config_dump('hint_plan.hints',''); |
7 | 4 | SELECT pg_catalog.pg_extension_config_dump('hint_plan.hints_id_seq',''); |