• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revisiona60dec0ac6f9a9cd1248b5ebadbfa4951712e8d5 (tree)
Time2020-10-29 21:20:30
AuthorKyotaro Horiguchi <horikyoga.ntt@gmai...>
CommiterKyotaro Horiguchi

Log Message

Fix bogus upgrade scripts.

Change Summary

Incremental Difference

--- a/pg_hint_plan--1.3.0--1.3.1.sql
+++ b/pg_hint_plan--1.3.0--1.3.1.sql
@@ -1,6 +1,7 @@
11 /* pg_hint_plan/pg_hint_plan--1.3.0--1.3.1.sql */
22
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
56
67 -- nothing to do upgrading from 1.3.0.
--- a/pg_hint_plan--1.3.1--1.3.2.sql
+++ b/pg_hint_plan--1.3.1--1.3.2.sql
@@ -1,6 +1,7 @@
11 /* pg_hint_plan/pg_hint_plan--1.3.1--1.3.2.sql */
22
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
56
67 -- nothing to do upgrading from 1.3.1.
--- a/pg_hint_plan--1.3.2--1.3.3.sql
+++ b/pg_hint_plan--1.3.2--1.3.3.sql
@@ -1,6 +1,7 @@
11 /* pg_hint_plan/pg_hint_plan--1.3.2--1.3.3.sql */
22
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
56
67 -- nothing to do upgrading from 1.3.2.
--- a/pg_hint_plan--1.3.3--1.3.5.sql
+++ b/pg_hint_plan--1.3.3--1.3.5.sql
@@ -1,6 +1,7 @@
11 /* pg_hint_plan/pg_hint_plan--1.3.3--1.3.5.sql */
22
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
56
67 -- nothing to do upgrading from 1.3.3.
--- a/pg_hint_plan--1.3.5--1.3.6.sql
+++ b/pg_hint_plan--1.3.5--1.3.6.sql
@@ -1,7 +1,4 @@
11 /* pg_hint_plan/pg_hint_plan--1.3.5--1.3.6.sql */
22
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-
63 SELECT pg_catalog.pg_extension_config_dump('hint_plan.hints','');
74 SELECT pg_catalog.pg_extension_config_dump('hint_plan.hints_id_seq','');
Show on old repository browser