OSDN Git Service

Changed version to 1.3.2 REL10_1_3_2
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Tue, 13 Nov 2018 07:21:33 +0000 (16:21 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Tue, 13 Nov 2018 08:39:33 +0000 (17:39 +0900)
Previously parse_messages and message_level were binded to the same
internal variable. Separate the two GUCs. On the way doing this some
mssages that did not honor the variable were fixed. Default behavior
is not changed but the the two variables works differently from the
previous version, perhaps closer to expected.

Makefile
SPECS/pg_hint_plan10.spec
pg_hint_plan--1.3.1--1.3.2.sql [new file with mode: 0644]
pg_hint_plan--1.3.2.sql [moved from pg_hint_plan--1.3.1.sql with 92% similarity]
pg_hint_plan.control

index 1300c48..64bacf5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 #
 
 MODULES = pg_hint_plan
-HINTPLANVER = 1.3.1
+HINTPLANVER = 1.3.2
 
 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
 
@@ -14,7 +14,8 @@ REGRESSION_EXPECTED = expected/init.out expected/base_plan.out expected/pg_hint_
 REGRESS_OPTS = --encoding=UTF8
 
 EXTENSION = pg_hint_plan
-DATA = pg_hint_plan--1.3.1.sql pg_hint_plan--1.3.0--1.3.1.sql
+DATA = pg_hint_plan--1.3.2.sql pg_hint_plan--1.3.0--1.3.1.sql \
+       pg_hint_plan--1.3.1--1.3.2.sql
 
 EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out RPMS
 
index 2a26fe7..b7d4774 100644 (file)
@@ -14,7 +14,7 @@
 ## Set general information for pg_store_plans.
 Summary:    Optimizer hint on PostgreSQL 10
 Name:       pg_hint_plan10
-Version:    1.3.1
+Version:    1.3.2
 Release:    1%{?dist}
 License:    BSD
 Group:      Applications/Databases
@@ -57,8 +57,9 @@ rm -rf %{buildroot}
 install -d %{buildroot}%{_libdir}
 install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so
 install -d %{buildroot}%{_datadir}/extension
-install -m 644 pg_hint_plan--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.1.sql
+install -m 644 pg_hint_plan--1.3.2.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.2.sql
 install -m 644 pg_hint_plan--1.3.0--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.0--1.3.1.sql
+install -m 644 pg_hint_plan--1.3.1--1.3.2.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.1--1.3.2.sql
 install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
 
 %clean
@@ -68,12 +69,15 @@ rm -rf %{buildroot}
 %defattr(0755,root,root)
 %{_libdir}/pg_hint_plan.so
 %defattr(0644,root,root)
-%{_datadir}/extension/pg_hint_plan--1.3.1.sql
+%{_datadir}/extension/pg_hint_plan--1.3.2.sql
 %{_datadir}/extension/pg_hint_plan--1.3.0--1.3.1.sql
+%{_datadir}/extension/pg_hint_plan--1.3.1--1.3.2.sql
 %{_datadir}/extension/pg_hint_plan.control
 
 # History of pg_hint_plan.
 %changelog
+* Tue Nov 13 2018 Kyotaro Horiguchi
+- Version 1.3.2.
 * Tue Jun 08 2018 Kyotaro Horiguchi
 - Fixed a crash bug.
 * Tue Oct 10 2017 Kyotaro Horiguchi
diff --git a/pg_hint_plan--1.3.1--1.3.2.sql b/pg_hint_plan--1.3.1--1.3.2.sql
new file mode 100644 (file)
index 0000000..19879c9
--- /dev/null
@@ -0,0 +1,6 @@
+/* pg_hint_plan/pg_hint_plan--1.3.1--1.3.2.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit
+
+-- nothing to do upgrading from 1.3.0/1.
similarity index 92%
rename from pg_hint_plan--1.3.1.sql
rename to pg_hint_plan--1.3.2.sql
index 78bb8ee..85b1387 100644 (file)
@@ -1,4 +1,4 @@
-/* pg_hint_plan/pg_hint_plan--1.3.0.sql */
+/* pg_hint_plan/pg_hint_plan--1.3.2.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
 \echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit
index 677b86b..1ad8bdf 100644 (file)
@@ -1,6 +1,6 @@
 # pg_hint_plan extension
 
 comment = ''
-default_version = '1.3.1'
+default_version = '1.3.2'
 relocatable = false
 schema = hint_plan