• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: コミット

firtst release


コミットメタ情報

リビジョン68b706a74484776551124c440ad6f1b005c0bbb4 (tree)
日時2018-06-08 14:42:52
作者Kyotaro Horiguchi <horiguchi.kyotaro@lab....>
コミッターKyotaro Horiguchi

ログメッセージ

Change version to 1.1.6.

1.1.5 has a crash bug in Describe message of extended protocol
path. If server receives the message after invalidation of
corresponding query cache, pg_hint_plan crashes.

On the way fixing it, this version took in the following commit of
core.

9680c120e5 Change more places to be less trusting of RestrictInfo.is_pushed_down.

変更サマリ

差分

--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
11 #
22 # pg_hint_plan: Makefile
33 #
4-# Copyright (c) 2012-2017, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
4+# Copyright (c) 2012-2018, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
55 #
66
77 MODULES = pg_hint_plan
8-HINTPLANVER = 1.1.5
8+HINTPLANVER = 1.1.6
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-T ut-fini
1111
@@ -14,8 +14,9 @@ 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.5.sql pg_hint_plan--1.1.3--1.1.4.sql \
18- pg_hint_plan--1.1.4--1.1.5.sql pg_hint_plan--1.1.2--1.1.3.sql
17+DATA = pg_hint_plan--1.1.6.sql pg_hint_plan--1.1.5--1.1.6.sql \
18+ pg_hint_plan--1.1.4--1.1.5.sql pg_hint_plan--1.1.3--1.1.4.sql \
19+ pg_hint_plan--1.1.2--1.1.3.sql
1920
2021 EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out
2122
--- 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-2017 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
2+# Copyright(C) 2012-2018 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.5
16+Version: 1.1.6
1717 Release: 1%{?dist}
1818 License: BSD
1919 Group: Applications/Databases
@@ -60,7 +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.5.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.5.sql
63+install -m 644 pg_hint_plan--1.1.6.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.6.sql
64+install -m 644 pg_hint_plan--1.1.5--1.1.6.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.5--1.1.6.sql
6465 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
6566 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
6667 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
@@ -73,7 +74,8 @@ rm -rf %{buildroot}
7374 %defattr(0755,root,root)
7475 %{_libdir}/pg_hint_plan.so
7576 %defattr(0644,root,root)
76-%{_datadir}/extension/pg_hint_plan--1.1.5.sql
77+%{_datadir}/extension/pg_hint_plan--1.1.6.sql
78+%{_datadir}/extension/pg_hint_plan--1.1.5--1.1.6.sql
7779 %{_datadir}/extension/pg_hint_plan--1.1.4--1.1.5.sql
7880 %{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql
7981 %{_datadir}/extension/pg_hint_plan--1.1.2--1.1.3.sql
@@ -81,6 +83,8 @@ rm -rf %{buildroot}
8183
8284 # History of pg_hint_plan.
8385 %changelog
86+* Fri Jun 08 2018 Kyotaro Horiguchi
87+- Fixed a crash bug.
8488 * Thu Jul 27 2017 Kyotaro Horiguchi
8589 - Fixed a crash bug.
8690 * Fri May 19 2017 Kyotaro Horiguchi
--- /dev/null
+++ b/pg_hint_plan--1.1.5--1.1.6.sql
@@ -0,0 +1,4 @@
1+/* pg_hint_plan/pg_hint_plan--1.1.5-1.1.6.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.control
+++ b/pg_hint_plan.control
@@ -1,6 +1,6 @@
11 # pg_hint_plan extension
22
33 comment = ''
4-default_version = '1.1.5'
4+default_version = '1.1.6'
55 relocatable = false
66 schema = hint_plan
旧リポジトリブラウザで表示