• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: コミット

firtst release


コミットメタ情報

リビジョン75000377cb41bebef34736ea978a365a0a08e008 (tree)
日時2017-05-19 13:33:31
作者Kyotaro Horiguchi <horiguchi.kyotaro@lab....>
コミッターKyotaro Horiguchi

ログメッセージ

Change version to 1.2.1

1.2.0 has a crash bug raised by queries in specific shape involving
complex views and/or SQL functions. Also it can crash when using
Parallel hint.

They are fixed in this version.

変更サマリ

差分

--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
55 #
66
77 MODULES = pg_hint_plan
8-HINTPLANVER = 1.2.0
8+HINTPLANVER = 1.2.1
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-fini
1111
@@ -14,7 +14,7 @@ REGRESSION_EXPECTED = expected/init.out expected/base_plan.out expected/pg_hint_
1414 REGRESS_OPTS = --encoding=UTF8
1515
1616 EXTENSION = pg_hint_plan
17-DATA = pg_hint_plan--1.2.0.sql pg_hint_plan--1.1.3--1.2.0.sql
17+DATA = pg_hint_plan--1.2.1.sql pg_hint_plan--1.2.0--1.2.1.sql pg_hint_plan--1.1.3--1.2.0.sql
1818
1919 EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out RPMS
2020
--- a/SPECS/pg_hint_plan96.spec
+++ b/SPECS/pg_hint_plan96.spec
@@ -14,7 +14,7 @@
1414 ## Set general information for pg_store_plans.
1515 Summary: Optimizer hint on PostgreSQL 9.6
1616 Name: pg_hint_plan96
17-Version: 1.2.0
17+Version: 1.2.1
1818 Release: 1%{?dist}
1919 License: BSD
2020 Group: Applications/Databases
@@ -57,7 +57,8 @@ rm -rf %{buildroot}
5757 install -d %{buildroot}%{_libdir}
5858 install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so
5959 install -d %{buildroot}%{_datadir}/extension
60-install -m 644 pg_hint_plan--1.2.0.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.2.0.sql
60+install -m 644 pg_hint_plan--1.2.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.2.1.sql
61+install -m 644 pg_hint_plan--1.2.0--1.2.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.2.0--1.2.1.sql
6162 install -m 644 pg_hint_plan--1.1.3--1.2.0.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.3--1.2.0.sql
6263 install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
6364
@@ -68,12 +69,15 @@ rm -rf %{buildroot}
6869 %defattr(0755,root,root)
6970 %{_libdir}/pg_hint_plan.so
7071 %defattr(0644,root,root)
71-%{_datadir}/extension/pg_hint_plan--1.2.0.sql
72+%{_datadir}/extension/pg_hint_plan--1.2.1.sql
73+%{_datadir}/extension/pg_hint_plan--1.2.0--1.2.1.sql
7274 %{_datadir}/extension/pg_hint_plan--1.1.3--1.2.0.sql
7375 %{_datadir}/extension/pg_hint_plan.control
7476
7577 # History of pg_hint_plan.
7678 %changelog
79+* Fri May 19 2017 Kyotaro Horiguchi
80+- Fixed a crash bug.
7781 * Tue Feb 7 2017 Kyotaro Horiguchi
7882 - Added new hint Parallel. Version 1.2.0.
7983 * Thu Jul 21 2016 Kyotaro Horiguchi
--- /dev/null
+++ b/pg_hint_plan--1.2.0--1.2.1.sql
@@ -0,0 +1,6 @@
1+/* pg_hint_plan/pg_hint_plan--1.2.0--1.2.1.sql */
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+-- nothing to do upgrading from 1.2.0.
--- a/pg_hint_plan--1.2.0.sql
+++ b/pg_hint_plan--1.2.1.sql
@@ -1,4 +1,4 @@
1-/* pg_hint_plan/pg_hint_plan--1.2.0.sql */
1+/* pg_hint_plan/pg_hint_plan--1.2.1.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.2.0'
4+default_version = '1.2.1'
55 relocatable = false
66 schema = hint_plan
旧リポジトリブラウザで表示