#
MODULES = pg_hint_plan
-HINTPLANVER = 1.3.6
+HINTPLANVER = 1.3.7
REGRESS = init base_plan pg_hint_plan ut-init ut-A ut-S ut-J ut-L ut-G ut-R ut-fdw ut-W ut-T ut-fini
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
-STARBALL12 = pg_hint_plan12-$(HINTPLANVER).tar.gz
-STARBALLS = $(STARBALL12)
+STARBALL13 = pg_hint_plan13-$(HINTPLANVER).tar.gz
+STARBALLS = $(STARBALL13)
TARSOURCES = Makefile *.c *.h COPYRIGHT* \
pg_hint_plan--*.sql \
installcheck: $(REGRESSION_EXPECTED)
-rpms: rpm12
+rpms: rpm13
# pg_hint_plan.c includes core.c and make_join_rel.c
pg_hint_plan.o: core.c make_join_rel.c # pg_stat_statements.c
tar -chzf $@ $(addprefix $(subst .tar.gz,,$@)/, $^)
rm $(subst .tar.gz,,$@)
-rpm12: $(STARBALL12)
- MAKE_ROOT=`pwd` rpmbuild -bb SPECS/pg_hint_plan12.spec
-
-
+rpm13: $(STARBALL13)
+ MAKE_ROOT=`pwd` rpmbuild -bb SPECS/pg_hint_plan13.spec
# SPEC file for pg_store_plans
# Copyright(C) 2020 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
-%define _pgdir /usr/pgsql-12
+%define _pgdir /usr/pgsql-13
%define _bindir %{_pgdir}/bin
%define _libdir %{_pgdir}/lib
%define _datadir %{_pgdir}/share
## Set general information for pg_store_plans.
Summary: Optimizer hint on PostgreSQL 12
-Name: pg_hint_plan12
-Version: 1.3.6
+Name: pg_hint_plan13
+Version: 1.3.7
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
Vendor: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
## We use postgresql-devel package
-BuildRequires: postgresql12-devel
-Requires: postgresql12-server
+BuildRequires: postgresql13-devel
+Requires: postgresql13-server
## Description for "pg_hint_plan"
%description
pg_hint_plan provides capability to tweak execution plans to be
executed on PostgreSQL.
-Note that this package is available for only PostgreSQL 12.
+Note that this package is available for only PostgreSQL 13.
%package llvmjit
-Requires: postgresql12-server, postgresql12-llvmjit
-Requires: pg_hint_plan12 = 1.3.6
-Summary: Just-in-time compilation support for pg_hint_plan12
+Requires: postgresql13-server, postgresql13-llvmjit
+Requires: pg_hint_plan13 = 1.3.7
+Summary: Just-in-time compilation support for pg_hint_plan13
%description llvmjit
-Just-in-time compilation support for pg_hint_plan12
+Just-in-time compilation support for pg_hint_plan13
## pre work for build pg_hint_plan
%prep
-PATH=/usr/pgsql-12/bin:$PATH
+PATH=/usr/pgsql-13/bin:$PATH
if [ "${MAKE_ROOT}" != "" ]; then
pushd ${MAKE_ROOT}
make clean %{name}-%{version}.tar.gz
## Set variables for build environment
%build
-PATH=/usr/pgsql-12/bin:$PATH
+PATH=/usr/pgsql-13/bin:$PATH
make USE_PGXS=1 %{?_smp_mflags}
## Set variables for install
%defattr(0755,root,root)
%{_libdir}/pg_hint_plan.so
%defattr(0644,root,root)
-%{_datadir}/extension/pg_hint_plan--1.3.6.sql
+%{_datadir}/extension/pg_hint_plan--1.3.7.sql
%{_datadir}/extension/pg_hint_plan.control
%files llvmjit
# History of pg_hint_plan.
%changelog
-* Wed Aug 5 2020 Kyotaro Horiguchi
-- Fix some bugs. Version 1.3.6.
-* Thu Feb 20 2020 Kyotaro Horiguchi
-- Support PostgreSQL 12. Fix some bugs. Version 1.3.5.
-* Thu Jan 17 2019 Kyotaro Horiguchi
-- Fix some bugs. Version 1.3.4.
-* Tue Nov 13 2018 Kyotaro Horiguchi
-- Support PostgreSQL 11. Version 1.3.2.
-* Fri Jun 08 2018 Kyotaro Horiguchi
-- Fixed a crash bug. Version 1.3.1.
-* Tue Oct 10 2017 Kyotaro Horiguchi
-- Support PostgreSQL 10. Version 1.3.0.
-* Tue Feb 7 2017 Kyotaro Horiguchi
-- Added new hint Parallel. Version 1.2.0.
-* Thu Jul 21 2016 Kyotaro Horiguchi
-- Support PostgreSQL 9.6
+* Thu Oct 29 2020 Kyotaro Horiguchi
+- First release of pg_hint_plan13.