• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: コミット

firtst release


コミットメタ情報

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

ログメッセージ

Change version to 1.1.4

1.1.3 has a crash bug raised by queries in specific shape involving
complex views and/or SQL functions.

It is fixed in this version.

変更サマリ

差分

--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
11 #
22 # pg_hint_plan: Makefile
33 #
4-# Copyright (c) 2012-2015, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
4+# Copyright (c) 2012-2017, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
55 #
66
77 MODULES = pg_hint_plan
8-HINTPLANVER = 1.1.3
8+HINTPLANVER = 1.1.4
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-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.1.3.sql
17+DATA = pg_hint_plan--1.1.4.sql pg_hint_plan--1.1.3--1.1.4.sql
1818
1919 EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out
2020
@@ -32,6 +32,8 @@ TARSOURCES = Makefile *.c *.h COPYRIGHT* \
3232 doc/* expected/*.out sql/*.sql sql/maskout.sh \
3333 data/data.csv input/*.source output/*.source SPECS/*.spec
3434
35+LDFLAGS+=-Wl,--build-id
36+
3537 installcheck: $(REGRESSION_EXPECTED)
3638
3739 rpms: rpm95
--- a/SPECS/pg_hint_plan95.spec
+++ b/SPECS/pg_hint_plan95.spec
@@ -1,5 +1,5 @@
11 # SPEC file for pg_store_plans
2-# Copyright(C) 2016 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
2+# Copyright(C) 2016-2017 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
33
44 %define _pgdir /usr/pgsql-9.5
55 %define _bindir %{_pgdir}/bin
@@ -13,7 +13,7 @@
1313 ## Set general information for pg_store_plans.
1414 Summary: Optimizer hint on PostgreSQL 9.5
1515 Name: pg_hint_plan95
16-Version: 1.1.3
16+Version: 1.1.4
1717 Release: 1%{?dist}
1818 License: BSD
1919 Group: Applications/Databases
@@ -56,7 +56,8 @@ rm -rf %{buildroot}
5656 install -d %{buildroot}%{_libdir}
5757 install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so
5858 install -d %{buildroot}%{_datadir}/extension
59-install -m 644 pg_hint_plan--1.1.3.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.3.sql
59+install -m 644 pg_hint_plan--1.1.4.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.4.sql
60+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
6061 install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
6162
6263 %clean
@@ -66,11 +67,14 @@ rm -rf %{buildroot}
6667 %defattr(0755,root,root)
6768 %{_libdir}/pg_hint_plan.so
6869 %defattr(0644,root,root)
69-%{_datadir}/extension/pg_hint_plan--1.1.3.sql
70+%{_datadir}/extension/pg_hint_plan--1.1.4.sql
71+%{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql
7072 %{_datadir}/extension/pg_hint_plan.control
7173
7274 # History of pg_hint_plan.
7375 %changelog
76+* Fri May 19 2017 Kyotaro Horiguchi
77+- Fixed a crash bug.
7478 * Fri May 13 2016 Kyotaro Horiguchi
7579 - Support PostgreSQL 9.5
7680
--- /dev/null
+++ b/pg_hint_plan--1.1.3--1.1.4.sql
@@ -0,0 +1,6 @@
1+/* pg_hint_plan/pg_hint_plan--1.1.3--1.1.4.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 from 1.1.3
--- a/pg_hint_plan--1.1.3.sql
+++ b/pg_hint_plan--1.1.4.sql
@@ -1,4 +1,4 @@
1-/* pg_hint_plan/pg_hint_plan--1.1.3.sql */
1+/* pg_hint_plan/pg_hint_plan--1.1.4.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.1.3'
4+default_version = '1.1.4'
55 relocatable = false
66 schema = hint_plan
旧リポジトリブラウザで表示