#
MODULES = pg_hint_plan
-HINTPLANVER = 1.1.3
+HINTPLANVER = 1.2.0
REGRESS = init base_plan pg_hint_plan ut-init ut-A ut-S ut-J ut-L ut-G ut-R ut-W ut-fdw ut-fini
REGRESS_OPTS = --encoding=UTF8
EXTENSION = pg_hint_plan
-DATA = pg_hint_plan--1.1.3.sql
+DATA = pg_hint_plan--1.2.0.sql
-EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out
+EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out RPMS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
doc/* expected/*.out sql/*.sql sql/maskout.sh \
data/data.csv input/*.source output/*.source SPECS/*.spec
+LDFLAGS+=-Wl,--build-id
+
installcheck: $(REGRESSION_EXPECTED)
rpms: rpm96
# SPEC file for pg_store_plans
-# Copyright(C) 2016 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
+# Copyright(C) 2017 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
%define _pgdir /usr/pgsql-9.6
%define _bindir %{_pgdir}/bin
%define _libdir %{_pgdir}/lib
%define _datadir %{_pgdir}/share
+
%if "%(echo ${MAKE_ROOT})" != ""
%define _rpmdir %(echo ${MAKE_ROOT})/RPMS
%define _sourcedir %(echo ${MAKE_ROOT})
## Set general information for pg_store_plans.
Summary: Optimizer hint on PostgreSQL 9.6
Name: pg_hint_plan96
-Version: 1.1.3
+Version: 1.2.0
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
Source0: %{name}-%{version}.tar.gz
-#URL: http://example.com/pg_hint_plan/
+URL: https://github.com/ossc-db/pg_hint_plan
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
Vendor: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
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.2.0.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.2.0.sql
install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
%clean
%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.2.0.sql
%{_datadir}/extension/pg_hint_plan.control
# History of pg_hint_plan.
%changelog
+* Tue Feb 7 2017 Kyotaro Horiguchi
+- Added new hint Parallel. Version 1.2.0.
* Thu Jul 21 2016 Kyotaro Horiguchi
- Support PostgreSQL 9.6