#
# pg_hint_plan: Makefile
#
-# Copyright (c) 2012-2014, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
+# Copyright (c) 2012-2017, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
#
MODULES = pg_hint_plan
-HINTPLANVER=1.1.3
+HINTPLANVER=1.1.4
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
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
REGRESS_OPTS = --encoding=UTF8
EXTENSION = pg_hint_plan
-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
+DATA = pg_hint_plan--1.1.4.sql pg_hint_plan--1.1.3--1.1.4.sql \
+ pg_hint_plan--1.1.2--1.1.3.sql
EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out
doc/* expected/*.out sql/*.sql \
data/data.csv input/*.source output/*.source SPECS/*.spec
+LDFLAGS+=-Wl,--build-id
+
installcheck: $(REGRESSION_EXPECTED)
rpms: rpm93
# SPEC file for pg_hint_plan
-# Copyright(C) 2012-2014 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
+# Copyright(C) 2012-2017 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
%define _pgdir /usr/pgsql-9.3
%define _bindir %{_pgdir}/bin
## Set general information for pg_hint_plan.
Summary: Optimizer hint for PostgreSQL 9.3
Name: pg_hint_plan93
-Version: 1.1.3
+Version: 1.1.4
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
install -d %{buildroot}%{_libdir}
install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so
install -d %{buildroot}%{_datadir}/extension
-install -m 644 pg_hint_plan--1.1.3.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.3.sql
-install -m 644 pg_hint_plan--1.0--1.1.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.0--1.1.1.sql
-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
+install -m 644 pg_hint_plan--1.1.4.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.4.sql
+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
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
install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
%defattr(0755,root,root)
%{_libdir}/pg_hint_plan.so
%defattr(0644,root,root)
-%{_datadir}/extension/pg_hint_plan--1.1.3.sql
-%{_datadir}/extension/pg_hint_plan--1.0--1.1.1.sql
-%{_datadir}/extension/pg_hint_plan--1.1.1--1.1.2.sql
+%{_datadir}/extension/pg_hint_plan--1.1.4.sql
+%{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql
%{_datadir}/extension/pg_hint_plan--1.1.2--1.1.3.sql
%{_datadir}/extension/pg_hint_plan.control
# History of pg_hint_plan.
%changelog
-* Thu Dec 22 2014 Kyotaro Horiguchi
+* Fri May 19 2017 Kyotaro Horiguchi
+- Fixed a crash bug.
+* Mon Dec 22 2014 Kyotaro Horiguchi
- Bug fix related to PL/pgSQL.
-* Thu Dec 16 2014 Kyotaro Horiguchi
+* Tue Dec 16 2014 Kyotaro Horiguchi
- Bug fix.
* Thu Sep 04 2014 Kyotaro Horiguchi
- Bug fix.