OSDN Git Service

Change version to 1.1.5 REL95_1_1_5
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 27 Jul 2017 08:04:36 +0000 (17:04 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 27 Jul 2017 10:20:05 +0000 (19:20 +0900)
1.1.4 has an assertion failure bug raised by DECLARE CURSOR with
enabling table hint. Fixed it.

Makefile
SPECS/pg_hint_plan95.spec
pg_hint_plan--1.1.4--1.1.5.sql [new file with mode: 0644]
pg_hint_plan--1.1.5.sql [moved from pg_hint_plan--1.1.4.sql with 92% similarity]
pg_hint_plan.control

index 51f9b10..7060d9e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 #
 
 MODULES = pg_hint_plan
-HINTPLANVER = 1.1.4
+HINTPLANVER = 1.1.5
 
 REGRESS = init base_plan pg_hint_plan ut-init ut-A ut-S ut-J ut-L ut-G ut-R ut-fdw ut-T ut-fini
 
@@ -14,7 +14,7 @@ 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.1.4.sql pg_hint_plan--1.1.3--1.1.4.sql
+DATA = pg_hint_plan--1.1.5.sql pg_hint_plan--1.1.4--1.1.5.sql pg_hint_plan--1.1.3--1.1.4.sql
 
 EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out
 
index 00aae2e..07e0b1f 100644 (file)
@@ -13,7 +13,7 @@
 ## Set general information for pg_store_plans.
 Summary:    Optimizer hint on PostgreSQL 9.5
 Name:       pg_hint_plan95
-Version:    1.1.4
+Version:    1.1.5
 Release:    1%{?dist}
 License:    BSD
 Group:      Applications/Databases
@@ -56,7 +56,8 @@ 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.1.4.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.4.sql
+install -m 644 pg_hint_plan--1.1.5.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.5.sql
+install -m 644 pg_hint_plan--1.1.4--1.1.5.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.4--1.1.5.sql
 install -m 644 pg_hint_plan--1.1.3--1.1.4.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql
 install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
 
@@ -67,12 +68,15 @@ rm -rf %{buildroot}
 %defattr(0755,root,root)
 %{_libdir}/pg_hint_plan.so
 %defattr(0644,root,root)
-%{_datadir}/extension/pg_hint_plan--1.1.4.sql
+%{_datadir}/extension/pg_hint_plan--1.1.5.sql
+%{_datadir}/extension/pg_hint_plan--1.1.4--1.1.5.sql
 %{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql
 %{_datadir}/extension/pg_hint_plan.control
 
 # History of pg_hint_plan.
 %changelog
+* Thu Jul 27 2017 Kyotaro Horiguchi
+- Fixed a crash bug.
 * Fri May 19 2017 Kyotaro Horiguchi
 - Fixed a crash bug.
 * Fri May 13 2016 Kyotaro Horiguchi
diff --git a/pg_hint_plan--1.1.4--1.1.5.sql b/pg_hint_plan--1.1.4--1.1.5.sql
new file mode 100644 (file)
index 0000000..ffeeca7
--- /dev/null
@@ -0,0 +1,6 @@
+/* pg_hint_plan/pg_hint_plan--1.1.4--1.1.5.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 from 1.1.4
similarity index 92%
rename from pg_hint_plan--1.1.4.sql
rename to pg_hint_plan--1.1.5.sql
index 09b390f..db6a995 100644 (file)
@@ -1,4 +1,4 @@
-/* pg_hint_plan/pg_hint_plan--1.1.4.sql */
+/* pg_hint_plan/pg_hint_plan--1.1.5.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 3a26288..b2f42ab 100644 (file)
@@ -1,6 +1,6 @@
 # pg_hint_plan extension
 
 comment = ''
-default_version = '1.1.4'
+default_version = '1.1.5'
 relocatable = false
 schema = hint_plan