• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: コミット

firtst release


コミットメタ情報

リビジョンb772d642ed83819ade16aa065d688a0206992d2e (tree)
日時2017-05-19 14:12:50
作者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-2014, 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 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
1010
1111 REGRESSION_EXPECTED = expected/init.out expected/base_plan.out expected/pg_hint_plan.out expected/ut-A.out expected/ut-S.out expected/ut-J.out expected/ut-L.out expected/ut-G.out
@@ -13,7 +13,8 @@ REGRESSION_EXPECTED = expected/init.out expected/base_plan.out expected/pg_hint_
1313 REGRESS_OPTS = --encoding=UTF8
1414
1515 EXTENSION = pg_hint_plan
16-DATA = pg_hint_plan--1.1.3.sql pg_hint_plan--1.0--1.1.1.sql pg_hint_plan--1.1.1--1.1.2.sql pg_hint_plan--1.1.2--1.1.3.sql
16+DATA = pg_hint_plan--1.1.4.sql pg_hint_plan--1.1.3--1.1.4.sql \
17+ pg_hint_plan--1.1.2--1.1.3.sql
1718
1819 EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out
1920
@@ -31,6 +32,8 @@ TARSOURCES = Makefile *.c *.h COPYRIGHT* \
3132 doc/* expected/*.out sql/*.sql \
3233 data/data.csv input/*.source output/*.source SPECS/*.spec
3334
35+LDFLAGS+=-Wl,--build-id
36+
3437 installcheck: $(REGRESSION_EXPECTED)
3538
3639 rpms: rpm93
--- a/SPECS/pg_hint_plan93.spec
+++ b/SPECS/pg_hint_plan93.spec
@@ -1,5 +1,5 @@
11 # SPEC file for pg_hint_plan
2-# Copyright(C) 2012-2014 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
2+# Copyright(C) 2012-2017 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
33
44 %define _pgdir /usr/pgsql-9.3
55 %define _bindir %{_pgdir}/bin
@@ -13,7 +13,7 @@
1313 ## Set general information for pg_hint_plan.
1414 Summary: Optimizer hint for PostgreSQL 9.3
1515 Name: pg_hint_plan93
16-Version: 1.1.3
16+Version: 1.1.4
1717 Release: 1%{?dist}
1818 License: BSD
1919 Group: Applications/Databases
@@ -60,9 +60,8 @@ rm -rf %{buildroot}
6060 install -d %{buildroot}%{_libdir}
6161 install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so
6262 install -d %{buildroot}%{_datadir}/extension
63-install -m 644 pg_hint_plan--1.1.3.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.3.sql
64-install -m 644 pg_hint_plan--1.0--1.1.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.0--1.1.1.sql
65-install -m 644 pg_hint_plan--1.1.1--1.1.2.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.1--1.1.2.sql
63+install -m 644 pg_hint_plan--1.1.4.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.4.sql
64+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
6665 install -m 644 pg_hint_plan--1.1.2--1.1.3.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.2--1.1.3.sql
6766 install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
6867
@@ -73,17 +72,18 @@ rm -rf %{buildroot}
7372 %defattr(0755,root,root)
7473 %{_libdir}/pg_hint_plan.so
7574 %defattr(0644,root,root)
76-%{_datadir}/extension/pg_hint_plan--1.1.3.sql
77-%{_datadir}/extension/pg_hint_plan--1.0--1.1.1.sql
78-%{_datadir}/extension/pg_hint_plan--1.1.1--1.1.2.sql
75+%{_datadir}/extension/pg_hint_plan--1.1.4.sql
76+%{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql
7977 %{_datadir}/extension/pg_hint_plan--1.1.2--1.1.3.sql
8078 %{_datadir}/extension/pg_hint_plan.control
8179
8280 # History of pg_hint_plan.
8381 %changelog
84-* Thu Dec 22 2014 Kyotaro Horiguchi
82+* Fri May 19 2017 Kyotaro Horiguchi
83+- Fixed a crash bug.
84+* Mon Dec 22 2014 Kyotaro Horiguchi
8585 - Bug fix related to PL/pgSQL.
86-* Thu Dec 16 2014 Kyotaro Horiguchi
86+* Tue Dec 16 2014 Kyotaro Horiguchi
8787 - Bug fix.
8888 * Thu Sep 04 2014 Kyotaro Horiguchi
8989 - Bug fix.
--- a/pg_hint_plan--1.1.1--1.1.2.sql
+++ /dev/null
@@ -1,4 +0,0 @@
1-/* pg_hint_plan/pg_hint_plan--1.1.1-1.1.2.sql */
2-
3--- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-\echo Use "ALTER EXTENSION pg_hint_plan UPDATE" to load this file. \quit
--- a/pg_hint_plan--1.0--1.1.1.sql
+++ b/pg_hint_plan--1.1.3--1.1.4.sql
@@ -1,4 +1,4 @@
1-/* pg_hint_plan/pg_hint_plan--1.0-1.1.1.sql */
1+/* pg_hint_plan/pg_hint_plan--1.1.3-1.1.4.sql */
22
33 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
44 \echo Use "ALTER EXTENSION pg_hint_plan UPDATE" to load this file. \quit
--- a/pg_hint_plan.c
+++ b/pg_hint_plan.c
@@ -4,7 +4,7 @@
44 * do instructions or hints to the planner using C-style block comments
55 * of the SQL.
66 *
7- * Copyright (c) 2012-2014, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
7+ * Copyright (c) 2012-2017, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
88 *
99 *-------------------------------------------------------------------------
1010 */
--- 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
旧リポジトリブラウザで表示