• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: 提交

firtst release


Commit MetaInfo

修訂1407e83006c68de21748d64b0b55579a82a9679c (tree)
時間2017-05-19 14:00:32
作者Kyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

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.

Change Summary

差異

--- 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
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,8 @@ 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 pg_hint_plan--1.1.2--1.1.3.sql
17+DATA = pg_hint_plan--1.1.4.sql pg_hint_plan--1.1.3--1.1.4.sql \
18+ pg_hint_plan--1.1.2--1.1.3.sql
1819
1920 EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out
2021
@@ -32,6 +33,8 @@ TARSOURCES = Makefile *.c *.h COPYRIGHT* \
3233 doc/* expected/*.out sql/*.sql sql/maskout.sh \
3334 data/data.csv input/*.source output/*.source SPECS/*.spec
3435
36+LDFLAGS+=-Wl,--build-id
37+
3538 installcheck: $(REGRESSION_EXPECTED)
3639
3740 rpms: rpm94
--- 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-2014 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
2+# Copyright(C) 2012-2017 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.3
16+Version: 1.1.4
1717 Release: 1%{?dist}
1818 License: BSD
1919 Group: Applications/Databases
@@ -61,7 +61,8 @@ install -d %{buildroot}%{_libdir}
6161 install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so
6262 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
64-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.1.3--1.1.4.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql
65+install -m 644 pg_hint_plan--1.1.4.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.4.sql
6566 install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
6667
6768 %clean
@@ -72,11 +73,14 @@ rm -rf %{buildroot}
7273 %{_libdir}/pg_hint_plan.so
7374 %defattr(0644,root,root)
7475 %{_datadir}/extension/pg_hint_plan--1.1.2--1.1.3.sql
75-%{_datadir}/extension/pg_hint_plan--1.1.3.sql
76+%{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql
77+%{_datadir}/extension/pg_hint_plan--1.1.4.sql
7678 %{_datadir}/extension/pg_hint_plan.control
7779
7880 # History of pg_hint_plan.
7981 %changelog
82+* Fri May 19 2017 Kyotaro Horiguchi
83+- Fixed a crash bug.
8084 * Thu Dec 22 2014 Kyotaro Horiguchi
8185 - Bug fix related to pl/pgsql.
8286 * Thu Dec 17 2014 Kyotaro Horiguchi
--- /dev/null
+++ b/pg_hint_plan--1.1.3--1.1.4.sql
@@ -0,0 +1,4 @@
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 "ALTER EXTENSION pg_hint_plan UPDATE" to load this file. \quit
--- 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.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
Show on old repository browser