• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

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

firtst release


Commit MetaInfo

Revisiona797bcf944d7f5c17d6d26cdaa2c57ef50b73a81 (tree)
Zeit2020-10-29 21:12:16
AutorKyotaro Horiguchi <horikyoga.ntt@gmai...>
CommiterKyotaro Horiguchi

Log Message

Change version to 1.3.7.

Fixed bogus upgrade scripts on the way changing version.

Ändern Zusammenfassung

Diff

--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
55 #
66
77 MODULES = pg_hint_plan
8-HINTPLANVER = 1.3.6
8+HINTPLANVER = 1.3.7
99
1010 REGRESS = init base_plan pg_hint_plan ut-init ut-A ut-S ut-J ut-L ut-G ut-R ut-fdw ut-W ut-T ut-fini
1111
--- a/SPECS/pg_hint_plan11.spec
+++ b/SPECS/pg_hint_plan11.spec
@@ -16,7 +16,7 @@
1616 ## Set general information for pg_hint_plan.
1717 Summary: Optimizer hint on PostgreSQL 11
1818 Name: pg_hint_plan11
19-Version: 1.3.6
19+Version: 1.3.7
2020 Release: 1%{?dist}
2121 License: BSD
2222 Group: Applications/Databases
@@ -39,7 +39,7 @@ Note that this package is available for only PostgreSQL 11.
3939
4040 %package llvmjit
4141 Requires: postgresql11-server, postgresql11-llvmjit
42-Requires: pg_hint_plan11 = 1.3.6
42+Requires: pg_hint_plan11 = 1.3.7
4343 Summary: Just-in-time compilation support for pg_hint_plan11
4444
4545 %description llvmjit
@@ -77,7 +77,8 @@ rm -rf %{buildroot}
7777 %{_datadir}/extension/pg_hint_plan--1.3.3--1.3.4.sql
7878 %{_datadir}/extension/pg_hint_plan--1.3.4--1.3.5.sql
7979 %{_datadir}/extension/pg_hint_plan--1.3.5--1.3.6.sql
80-%{_datadir}/extension/pg_hint_plan--1.3.6.sql
80+%{_datadir}/extension/pg_hint_plan--1.3.6--1.3.7.sql
81+%{_datadir}/extension/pg_hint_plan--1.3.7.sql
8182 %{_datadir}/extension/pg_hint_plan.control
8283
8384 %files llvmjit
@@ -89,6 +90,8 @@ rm -rf %{buildroot}
8990
9091 # History of pg_hint_plan.
9192 %changelog
93+* Thu Oct 29 2020 Kyotaro Horiguchi
94+- Fix a bug. Version 1.3.7.
9295 * Wed Aug 5 2020 Kyotaro Horiguchi
9396 - Fix some bugs. Version 1.3.6.
9497 * Thu Feb 21 2020 Kyotaro Horiguchi
--- 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
33 -- 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
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.4.sql
+++ b/pg_hint_plan--1.3.3--1.3.4.sql
@@ -1,6 +1,7 @@
11 /* pg_hint_plan/pg_hint_plan--1.3.3--1.3.4.sql */
22
33 -- 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
4+\echo Use "ALTER EXTENSION pg_dbms_stats UPDATE TO '1.3.4'" to load this file.
5+\quit
56
67 -- nothing to do upgrading from 1.3.3.
--- a/pg_hint_plan--1.3.4--1.3.5.sql
+++ b/pg_hint_plan--1.3.4--1.3.5.sql
@@ -1,6 +1,7 @@
11 /* pg_hint_plan/pg_hint_plan--1.3.4--1.3.5.sql */
22
33 -- 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
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.4.
--- 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','');
--- /dev/null
+++ b/pg_hint_plan--1.3.6--1.3.7.sql
@@ -0,0 +1,5 @@
1+/* pg_hint_plan/pg_hint_plan--1.3.6--1.3.7.sql */
2+
3+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4+\echo Use "ALTER EXTENSION pg_dbms_stats UPDATE TO '1.3.7'" to load this file.
5+\quit
--- a/pg_hint_plan--1.3.6.sql
+++ b/pg_hint_plan--1.3.7.sql
@@ -1,4 +1,4 @@
1-/* pg_hint_plan/pg_hint_plan--1.3.6.sql */
1+/* pg_hint_plan/pg_hint_plan--1.3.7.sql */
22
33 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
44 \echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit
--- a/pg_hint_plan.control
+++ b/pg_hint_plan.control
@@ -1,6 +1,6 @@
11 # pg_hint_plan extension
22
33 comment = ''
4-default_version = '1.3.6'
4+default_version = '1.3.7'
55 relocatable = false
66 schema = hint_plan