• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

firtst release


Commit MetaInfo

Revision690a3532cf11d6cae3fd6abe9e448fb0ad10a360 (tree)
Zeit2018-06-08 14:12:01
AutorKyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

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.

58fec95268 Change more places to be less trusting of RestrictInfo.is_pushed_down.

Ändern Zusammenfassung

Diff

--- 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.4--1.1.5.sql \
18- pg_hint_plan--1.1.3--1.1.4.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_plan94.spec
+++ b/SPECS/pg_hint_plan94.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.4
55 %define _bindir %{_pgdir}/bin
@@ -13,7 +13,7 @@
1313 ## Set general information for pg_hint_plan.
1414 Summary: Optimizer hint for PostgreSQL 9.4
1515 Name: pg_hint_plan94
16-Version: 1.1.5
16+Version: 1.1.6
1717 Release: 1%{?dist}
1818 License: BSD
1919 Group: Applications/Databases
@@ -63,7 +63,8 @@ install -d %{buildroot}%{_datadir}/extension
6363 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
6464 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
6565 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
66-install -m 644 pg_hint_plan--1.1.5.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.5.sql
66+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
67+install -m 644 pg_hint_plan--1.1.6.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.6.sql
6768 install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
6869
6970 %clean
@@ -76,11 +77,14 @@ rm -rf %{buildroot}
7677 %{_datadir}/extension/pg_hint_plan--1.1.2--1.1.3.sql
7778 %{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql
7879 %{_datadir}/extension/pg_hint_plan--1.1.4--1.1.5.sql
79-%{_datadir}/extension/pg_hint_plan--1.1.5.sql
80+%{_datadir}/extension/pg_hint_plan--1.1.5--1.1.6.sql
81+%{_datadir}/extension/pg_hint_plan--1.1.6.sql
8082 %{_datadir}/extension/pg_hint_plan.control
8183
8284 # History of pg_hint_plan.
8385 %changelog
86+* Thu 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--1.1.5.sql
+++ b/pg_hint_plan--1.1.6.sql
@@ -1,4 +1,4 @@
1-/* pg_hint_plan/pg_hint_plan--1.1.5.sql */
1+/* pg_hint_plan/pg_hint_plan--1.1.6.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.5'
4+default_version = '1.1.6'
55 relocatable = false
66 schema = hint_plan